Apply init-script-configmap.yaml
only if keycloak is enabled
#124
Labels
bug
Something isn't working
init-script-configmap.yaml
only if keycloak is enabled
#124
Describe the bug
With the current helm chart the file
keycloak/init-script-configmap.yaml
will always be deployed to the cluster - doesn't matter if keycloak was enabled or not.Additionally, the ConfigMap has a fix name: that means, it's not possible to run two DTRs in the same K8s namespace.
To Reproduce
enableKeycloak: false
kubectl get cm init-script-vol
Expected behavior
If I disable the keycloak setup, I don't want to have anything polluting my environment in context of the keycloak setup.
Possible Implementation
Add an if statement to the template based on the value
enableKeycloak
. Additionally use a generated name based on the release name (like it's done at theregistry/registry-deployment.yaml
)The text was updated successfully, but these errors were encountered: