crumbhole / argocd-lovely-plugin

A plugin to make Argo CD behave like we'd like.
BSD 3-Clause "New" or "Revised" License
355 stars 22 forks source link

Is there a way to use this to reference configmap/secret values in a helm values/yaml files? #506

Open ashtonian opened 3 weeks ago

ashtonian commented 3 weeks ago

Sometimes I want to set values in various yaml files or chart values files to reference a configmap or secret value and be able to template on it.

for example:

someValue: "base-name-{{fromConfigmap.someValue}}"
Joibel commented 3 weeks ago

No, this isn't a feature of lovely.

Because lovely runs in the same pod (and therefore with the same service account) as the repo-server, it would require granting access to secrets/configmaps to that service account.

The other problem with implementing it would be there is no current mechanism when it could notice that the application needs an update and perform that update. The latency from secret/configmap change to application rollout could be seconds, but is likely to be hours.

I'm not against supporting it though.