Skip to content

Missing support for secret annotation #106

@jakubmalek

Description

@jakubmalek

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

secret:
  annotations: {}

To the values.yaml end add:

{{- with .Values.secret.annotations }}
annotations:
  {{- toYaml . | nindent 4 }}
{{- end }}

To all Kubernetes secret templates.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions