mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2026-05-05 06:36:11 +02:00
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:
parent
4c86e53d01
commit
bbaa3eb290
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user