Help regarding patching and dependsOn #5289
-
|
Hi. I would like to get some help and info about good practice regarding patching in scenario when you need to patch in example a podinfo to serviceMonitor.enabled.true from serviceMonitor.enabled.false but after the kube-prometheus-stack is applied. helm upgrade podinfo podinfo/podinfo but based upon dependsOn: kube-prometheus-stack Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Make the apps depend on your infrastructure Flux Kustomization, then you simply enable the service monitor and the CRD will be there. Example repo here: https://github.com/fluxcd/flux2-monitoring-example |
Beta Was this translation helpful? Give feedback.
Make the apps depend on your infrastructure Flux Kustomization, then you simply enable the service monitor and the CRD will be there. Example repo here: https://github.com/fluxcd/flux2-monitoring-example