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.
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?
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!
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
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.