Skip to content

Commit

Permalink
Attempts at making the docs more clear with secret volume
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
pier-oliviert committed Jun 27, 2024
1 parent 4c86e53 commit bbaa3eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/tutorials/aws.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bbaa3eb

Please sign in to comment.