Attempts at making the docs more clear with secret volume

The secret includes keys/value pair and a secret, when mounted as a
volume, will generate a file for each of the pair where the name of the
file is the key and the content of the file, the value.

This hopefully makes the doc clear on how to configured credentials.
This commit is contained in:
Pier-Olivier Thibault 2024-06-27 12:14:05 -04:00
parent 4c86e53d01
commit bbaa3eb290

View File

@ -494,11 +494,11 @@ provider:
name: aws
env:
- name: AWS_SHARED_CREDENTIALS_FILE
value: /etc/aws/credentials
value: /etc/aws/credentials/my_credentials
extraVolumes:
- name: aws-credentials
secret:
secretName: external-dns
secretName: external-dns # In this example, the secret will have the data stored in a key named `my_credentials`
extraVolumeMounts:
- name: aws-credentials
mountPath: /etc/aws/credentials