configMapGenerator issues - flux looks for unhashed configmap name #4985
-
I'm trying to follow this example: https://fluxcd.io/flux/guides/helmreleases/#refer-to-values-in-configmaps-generated-with-kustomize to install cert-manager I have created a kustomizeconfig.yaml
then a kustomization.yaml
and this is the cert-manager.yaml
This fails with:
Not sure where I'm going wrong with this, as the kustomized helmrelease resource hasn't been updated with the hashed configmap name, so the error is consistent with the state of the system, but why isn't the helmrelease object being updated? Any ideas? TIA |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
The path is wrong here:
This path refers to the spec of the HelmRelease, see the docs: https://fluxcd.io/flux/guides/helmreleases/#refer-to-values-in-configmaps-generated-with-kustomize |
Beta Was this translation helpful? Give feedback.
No, it should be what's written in the docs, the JSON path to where Kustomize should patch the name of the ConfigMap
spec/valuesFrom/name
.