Optionally accept RELATED_IMAGE_KEYCLOAK as the operand coordinate (#24018)
This changes the quarkus configuration of the operator so that if the RELATED_IMAGE_KEYCLOAK environment variable is present, it will be accepted over the default value Closes #24017
This commit is contained in:
parent
b5ec155b64
commit
359a946a6f
1 changed files with 2 additions and 2 deletions
|
@ -4,11 +4,11 @@ quarkus.docker.dockerfile-jvm-path=Dockerfile
|
|||
quarkus.operator-sdk.crd.validate=false
|
||||
|
||||
# Operator config
|
||||
operator.keycloak.image=quay.io/keycloak/keycloak:nightly
|
||||
operator.keycloak.image=${RELATED_IMAGE_KEYCLOAK:quay.io/keycloak/keycloak:nightly}
|
||||
operator.keycloak.image-pull-policy=Always
|
||||
|
||||
# https://quarkus.io/guides/deploying-to-kubernetes#environment-variables-from-keyvalue-pairs
|
||||
quarkus.kubernetes.env.vars.operator-keycloak-image=${operator.keycloak.image}
|
||||
quarkus.kubernetes.env.vars.related-image-keycloak=${operator.keycloak.image}
|
||||
|
||||
# Bundle config
|
||||
quarkus.operator-sdk.bundle.package-name=keycloak-operator
|
||||
|
|
Loading…
Reference in a new issue