thankful-island-60540
05/31/2019, 9:56 AMhelm upgrade ...
its all running fine,
When using next code example
jenkins_values = "PATH_TO_VALUES.yaml"
with open(jenkins_values) as f:
jenkins_values = f.read()
jenkins_values = yaml.load(jenkins_values)
Chart("jenkins",
ChartOpts(chart="jenkins",
repo="stable",
version="1.1.23",
namespace="jenkins",
values=jenkins_values))
The chart is being deployed, but not taking any of the values (it just deploys the default chart values).
Does Pulumi support of injecting a values file, or should i actually pass exact values i want to change (equivalent to --set)?rapid-eye-32575
05/31/2019, 10:06 AMhelm upgrade
and is not using (and not requiring) Tiller in your Clusterthankful-island-60540
05/31/2019, 10:13 AMChart("jenkins",
ChartOpts(chart="jenkins",
repo="stable",
version="1.1.23",
namespace="jenkins",
values={
"alice": "bob"
}))
Then the deploy will override a key named alice
to a value of bob
and that's ok, but what if i have hundreds (for example) values that i need to change?
it would be easier to just yaml.load
it from a file and that seems to not work... or maybe its just my values syntax is wrong🤔 i'll double check the dictionary that's being generated, but it look fine....rapid-eye-32575
05/31/2019, 10:20 AMbusy-umbrella-36067
05/31/2019, 4:18 PMconsole.log
on values
and defaultValues
here.
https://github.com/pulumi/pulumi-kubernetes/blob/0e3dcef044568b05d23945f1ac50113d5b21394f/sdk/nodejs/helm/v2/helm.ts#L166@pulumi/kubernetes
package inside node_modules
to add that and compare the default chart values to what you are passing to itingress-nginx
chart documented the wrong values for setting targetPorts. Got it resolved using the above.
I hope this helpsthankful-island-60540
06/01/2019, 6:57 AM