You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Project containing kubernetes and liquibase extensions creates kubernetes.yml deployment file. Liquibase migration scripts are run inside job defined in this file as following:
Deployment to kubernetes failed with The Job "liquibase-mongodb-init" is invalid: spec.completionMode: Unsupported value: "OnFailure": supported values: "NonIndexed", "Indexed"
How to Reproduce?
create quarkus 3 project with kubernetes and liquibase extensions
build
deploy generated kubernetes.yml
Output of uname -a or ver
Linux palo-liska 6.1.0-1009-oem #9-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar 31 09:59:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Output of java -version
openjdk version "17.0.6" 2023-01-17 OpenJDK Runtime Environment (build 17.0.6+10-Ubuntu-0ubuntu122.04) OpenJDK 64-Bit Server VM (build 17.0.6+10-Ubuntu-0ubuntu122.04, mixed mode, sharing)
GraalVM version (if different from Java)
No response
Quarkus version or git rev
3.0.1.Final
Build tool (ie. output of mvnw --version or gradlew --version)
Gradle 7.5.1
Additional information
No response
The text was updated successfully, but these errors were encountered:
#33086 should fix this issue.
The only workaround I see for you is to provide your Job resource in src/main/kubernetes/common.yml with the correct value.
Describe the bug
Project containing kubernetes and liquibase extensions creates kubernetes.yml deployment file. Liquibase migration scripts are run inside job defined in this file as following:
Kuberentes job specification does not define such completion mode: https://kubernetes.io/docs/concepts/workloads/controllers/job/#completion-mode
Expected behavior
Deployment success
Actual behavior
Deployment to kubernetes failed with
The Job "liquibase-mongodb-init" is invalid: spec.completionMode: Unsupported value: "OnFailure": supported values: "NonIndexed", "Indexed"
How to Reproduce?
Output of
uname -a
orver
Linux palo-liska 6.1.0-1009-oem #9-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar 31 09:59:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Output of
java -version
openjdk version "17.0.6" 2023-01-17 OpenJDK Runtime Environment (build 17.0.6+10-Ubuntu-0ubuntu122.04) OpenJDK 64-Bit Server VM (build 17.0.6+10-Ubuntu-0ubuntu122.04, mixed mode, sharing)
GraalVM version (if different from Java)
No response
Quarkus version or git rev
3.0.1.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)Gradle 7.5.1
Additional information
No response
The text was updated successfully, but these errors were encountered: