relates to #1163
@tbondarchuk @hiddeco
I have this working with static secret names (no hashing).
secretGenerator:
- name: my-sops-secrets
namespace: myapp
envs:
- files/application.secrets.env
configMapGenerator:
- name: my-configmap
namespace: myapp
envs:
- files/application.properties
- name:my-helm-config
namespace: myapp
files:
- values.yaml=helm/values.yaml
The problem arises when you try to use hashed secret names with:
generatorOptions:
disableNameSuffixHash: true
immutable: true
The reason for having a hash value is to trigger an update to the pods, forcing kube to restart them and pick up changes in the ConfigMap/Secrets.