Open gwydionmv opened 3 months ago
tbh, i never understood the namespace: ...
pattern that most charts started using at some point. Do you by any chance know why it's needed? I've never had to use it when installing this chart because doing it via Argo CD or using helm install --namespace <ns>
seems to work all the time.
I'll gladly merge it if it's really needed, maybe it should be optional?
{{- with .Values.keycloak.namespace }}
namespace: {{ . }}
{{- end }}
well, we use it because we have different namespaces name depending on the environment, so to automatise the generation and deployment during the CI/CD we need to be able to customise it (we are not using ArgoCD).
I completely agree with the optional line :D
I have already push a PR with the changes :D
Is your feature request related to a problem? Please describe. The current keycloak-operator chart doesn't allow to specify the namespace for the resources.
Describe the solution you'd like Include in the metadata section of every resource a new line like namespace: {{ include "keycloak-operator.operator.namespace" . }}