Skip to content

Document environment variables in the helm charts - eg passing external secrets #155

@pmauduit

Description

@pmauduit

Using the provided values for username/password in case of needed authentication on the remote smarthost:
https://github.com/georchestra/helm-georchestra/blob/main/templates/smtp-smarthost/smtp-deployment.yaml#L49-L55
will force the user of hardcoding sensitive infos directly into the values.yaml file.

Maybe we should remove them from the chart, and document the fact that you can reference a kubernetes secret directly from the extra_env variables ? e.g.:

[...]
    extra_environment:
      - name: RELAY_USERNAME
        valueFrom:
          secretKeyRef:
            key: username
            name: smtp-credentials
      - name: RELAY_PASSWORD
        valueFrom:
          secretKeyRef:
            key: password
            name: smtp-credentials
[...]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions