-
Notifications
You must be signed in to change notification settings - Fork 10
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
Can't escape these very common set lines #8
Comments
The issue is actually coming from helm is stripping escaping from literal key helm/helm#4030 install:
- helm3:
description: "install porter-nginx"
name: porter-nginx
chart: stable/nginx-ingress
version: 1.41.3
namespace: "{{ bundle.parameters.namespace }}"
upsert: true
set:
controller.scope.namespace: "{{ bundle.parameters.namespace }}"
controller.ingressClass: "{{ bundle.parameters.namespace }}-nginx"
defaultBackend.nodeSelector."beta\.kubernetes\.io/os": "linux"
controller.nodeSelector."beta\.kubernetes\.io/os": "linux"
controller.nodeSelector."kubernetes\.io/role": "main" And at runtime it would result to : /cnab/app/mixins/helm3/helm3-runtime install --debug
/usr/local/bin/helm3 helm3 upgrade --install porter-nginx stable/nginx-ingress --namespace porter --version 1.41.3 --set controller\.ingressClass=porter-nginx --set controller\.nodeSelector\."beta\\.kubernetes\\.io/os"=linux --set controller\.nodeSelector\."kubernetes\\.io/role"=main --set controller\.scope\.namespace=porter --set defaultBackend\.nodeSelector\."beta\\.kubernetes\\.io/os"=linux Execution completed successfully!
NAME CREATED MODIFIED LAST ACTION LAST STATUS
nginx 5 seconds ago 5 seconds ago install succeeded Will keep this open until helm introduce |
or we could specify using |
|
This in particular is a good way to think about it. I might try this as an experiment in any case. BUT: I can't thank you enough for the modification -- I look forward to using it immediately tomorrow! |
Either I want to know how to escape these using Helm3 and porter, or if it's an issue let's fix it!
the node selectors MUST be escaped in that fashion in order to work correctly on the command line. How should they be created in YAML using the Helm3 mixin in order to work correctly?
The text was updated successfully, but these errors were encountered: