We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug I am trying to apply custom labels to generated kubernetes.yml and minikube.yml using the property: quarkus.kubernetes.labels.Foo=Bar
I have added both the kubernetes and minikube plugin in my build.gradle file:
dependencies { implementation 'io.quarkus:quarkus-minikube' implementation 'io.quarkus:quarkus-container-image-jib' implementation 'io.quarkus:quarkus-kubernetes' implementation enforcedPlatform("${quarkusPlatformGroupId}:${quarkusPlatformArtifactId}:${quarkusPlatformVersion}") implementation 'io.quarkus:quarkus-undertow' testImplementation 'io.quarkus:quarkus-junit5' testImplementation 'io.rest-assured:rest-assured' }
Expected behavior Custom labels must be added to both yml files
Actual behavior Labels only added to kubernetes.yml file but not to minikube.yml
kubernetes.yml:
labels: app.kubernetes.io/name: "spring-theme" app.kubernetes.io/version: "1.0.0" greenscape.io/type: "Theme" name: "spring-theme"
minikube.yml:
labels: app.kubernetes.io/name: "spring-theme" app.kubernetes.io/version: "1.0.0" name: "spring-theme"
To Reproduce Steps to reproduce the behavior:
Configuration
# gradle.properties quarkusPluginVersion=1.5.2.Final quarkusPlatformArtifactId=quarkus-universe-bom quarkusPlatformVersion=1.5.2.Final quarkusPlatformGroupId=io.quarkus quarkus.container-image.registry=docker.pkg.github.com quarkus.container-image.group=greenscape/spring-theme quarkus.kubernetes.labels."greenscape.io/type"=Theme
Environment (please complete the following information):
uname -a
ver
java -version
openjdk version "11.0.2" 2019-01-15 OpenJDK Runtime Environment 18.9 (build 11.0.2+9) OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode)
mvnw --version
gradlew --version
------------------------------------------------------------ Gradle 6.0.1 ------------------------------------------------------------ Build time: 2019-11-18 20:25:01 UTC Revision: fad121066a68c4701acd362daf4287a7c309a0f5 Kotlin: 1.3.50 Groovy: 2.5.8 Ant: Apache Ant(TM) version 1.10.7 compiled on September 1 2019 JVM: OpenJDK Runtime Environment 18.9 (build 11.0.2+9) OS: Windows 10 10.0 amd64
The text was updated successfully, but these errors were encountered:
Add labels and annotation to minikube manifests
6baafc9
Fixes: quarkusio#10167
Thanks for reporting. #10550 takes care of the issue and will hopefully be part of 1.6.1.Final
1.6.1.Final
Sorry, something went wrong.
Merge pull request #10550 from geoand/#10167
a745df1
3777eeb
geoand
Successfully merging a pull request may close this issue.
Describe the bug
I am trying to apply custom labels to generated kubernetes.yml and minikube.yml using the property:
quarkus.kubernetes.labels.Foo=Bar
I have added both the kubernetes and minikube plugin in my build.gradle file:
Expected behavior
Custom labels must be added to both yml files
Actual behavior
Labels only added to kubernetes.yml file but not to minikube.yml
kubernetes.yml:
minikube.yml:
To Reproduce
Steps to reproduce the behavior:
Configuration
Environment (please complete the following information):
uname -a
orver
:java -version
:v1.5.2
mvnw --version
orgradlew --version
):The text was updated successfully, but these errors were encountered: