The Kubernetes secret with users.toml currently does not support custom annotations.
Annotations such as avp.kubernetes.io/path are needed for ArgoCD Vault Plugin to replace secret value placeholders.
This way instead of using external secrets, the users can be safely configured something like this:
users:
- name: foo
password: `<foo-password>` # Vault placeholder
I propose to add
To the values.yaml end add:
{{- with .Values.secret.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
To all Kubernetes secret templates.
The Kubernetes secret with
users.tomlcurrently does not support custom annotations.Annotations such as
avp.kubernetes.io/pathare needed for ArgoCD Vault Plugin to replace secret value placeholders.This way instead of using external secrets, the users can be safely configured something like this:
I propose to add
To the
values.yamlend add:{{- with .Values.secret.annotations }} annotations: {{- toYaml . | nindent 4 }} {{- end }}To all Kubernetes secret templates.