Sangraham Logo

Secrets

Examples

- name: SOME_ENV_VAR
  valueFrom:
    secretKeyRef:
      name: secrets-object-name
      key: key-name-in-the-secrets-object
volumeMounts:
  - name: credVolume
    # will create files with value with key as filename
    mountPath: /some-path
    readOnly: true
volumes:
  - name: credVolume
  secret:
    secretName: secrets-object-name

Types