secret.md 1.7 KB

secret

Key Type Required Helm Template Default Description
persistence.[volume-name].objectName string "" Define the secret volume name
persistence.[volume-name].expandObjectName boolean true Whether to expand (adding the fullname as prefix) the secret name
persistence.[volume-name].defaultMode string "" Define the defaultMode (must be a string in format of "0777")
persistence.[volume-name].items list [] Define a list of items for secret
persistence.[volume-name].items.key string "" Define the key of the secret
persistence.[volume-name].items.path string "" Define the path

Notes:

View common keys of persistence in persistence Documentation.


Examples:

persistence:
  secret-vol:
    enabled: true
    type: secret
    objectName: secret-name
    expandObjectName: false
    defaultMode: "0777"
    items:
      - key: key1
        path: path1
      - key: key2
        path: path2