https://pulumi.com logo
Title
b

brash-kite-78002

06/08/2021, 5:09 PM
Hello Everyone! Is there any way to change a Helm chart values after it's got defined in the code? I need to deploy the Cilium chart, but I can't deploy it with ServiceMonitors and Ingress because of dependencies that are deployed later on. Thus, I'm trying to find a way to change the chart after all my dependencies are installed.
b

billowy-army-68599

06/08/2021, 5:14 PM
if you update the helm values it should only change the chart, not the other deps. Not sure if that's what you're wondering?
b

brash-kite-78002

06/08/2021, 7:24 PM
I mean that I need to install the Cilium Helm chart, after that Prometheus, Nginx Ingress charts, and only after I can deploy Service Monitors, Ingress for Cilium, however, I can only do that by changing the values for the chart itself, but it's already defined in the code. By the way, thank you for your time!
b

billowy-army-68599

06/08/2021, 7:33 PM
ah, so you're installing the CNI, and then you need to install the service monitors CRD right? my suggestion would be to install the CRD first outside of the helm charts. you don't need to install all of the prom/ingress charts - do the CRD first, it doesn't need the CNI to be installed
b

brash-kite-78002

06/09/2021, 8:59 AM
Yes, you are right. I need to install CNI first to have a proper network. The problem is that the Prometheus chart doesn't contain only CRDs, it has an operator too, which needs a proper network to deploy. Of course, I can extract some resources from a chart and define them in the code later, but I was thinking, that may be, there is some other solution possible.