-
Notifications
You must be signed in to change notification settings - Fork 638
New issue
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
awx-operator installation issue with helm. #907
Comments
What you mean is trying to specify a namespace but the operator is deployed in the awx namespace? |
I have also seen this with latest version, ignores the custom namespace or namespace ENV and deploys into |
@metabsd that is correct awx operator is getting deployed into awx namespace instead of custom namespace. I have tried several options like installing awx operator into custom namespace using helm. Tried to pass custom namespace in custom values. Yml file etc but its default behavior is ignore namespace that is passed and try to create awx namespace and install awx operator into awx namespace |
I just pulled the helm chart to analyze it and indeed the current chart seems to be a first static version without possibility to define a values.yml. All values hardcoded. The contributor may have planned to make it more custom in the future. For the moment it would be necessary to download the helm and modify it by hand or propose a pull request with this functionality. This explains the result we have. Have a nice day! |
Another solution would be to accept the configuration included by the current helm chart and leave it in the awx namespace. |
@metabsd i did try out some thing like to including namespace: awx values.yaml and then include namespace: {{ .values.Namespace }} ran into some issues i will try to see if i can customize values.yaml so that helm chart can be more re-usable especially around using different versions of awx-operator images it would be nice to have customization |
I've been working with the same version of the helm chart today and from my observation, all the templates are hard-coded with This was not entirely bad as I intended to deploy in a It almost seems to me that the best course would be to remove the For now my fix was to have helm install into another namespace, for simplicity I choose |
I also have this issue! |
Helm should be able to set the namespace for the operator at deploy time via the --namespace option. Use yq to remove all references to namespaces in the helm chart prior to publishing. Resolves ansible#907
Helm should be able to set the namespace for the operator at deploy time via the --namespace option. Use yq to remove all references to namespaces in the helm chart prior to publishing. Update CI process to create namespace during install. Resolves ansible#907
Helm should be able to set the namespace for the operator at deploy time via the --namespace option. Use yq to remove all references to namespaces in the helm chart prior to publishing. Update CI process to create namespace during install. Resolves ansible#907
Helm should be able to set the namespace for the operator at deploy time via the --namespace option. Use yq to remove all references to namespaces in the helm chart prior to publishing. Update CI process to create namespace during install. Resolves ansible#907
Helm should be able to set the namespace for the operator at deploy time via the --namespace option. Use yq to remove all references to namespaces in the helm chart prior to publishing. Update CI process to create namespace during install. Resolves ansible#907
ISSUE TYPE
SUMMARY
awx operator is installation through helm is deploying awx-operator into awx namespace.helm list is showing that awx-operator is
installed into required namespace but actual awx-operator is deployed into awx namespace which is created by helm installation
ENVIRONMENT
STEPS TO REPRODUCE
helm install my-awx-operator awx-operator/awx-operator
The text was updated successfully, but these errors were encountered: