1
0
Fork 0
mirror of https://github.com/external-secrets/external-secrets.git synced 2024-12-14 11:57:59 +00:00

fix: root providers under a provider field

This is needed for easy-to-use CR validation, see external-secrets/external-secrets#9
This commit is contained in:
Moritz Johner 2020-12-09 08:31:29 +01:00
parent 263d47bf7f
commit 62608c9fa8

35
Spec.md
View file

@ -222,25 +222,28 @@ spec:
# Optional
controller: dev
# AWSSM configures this store to sync secrets using AWS Secret Manager provider
awssm:
# Auth defines the information necessary to authenticate against AWS by
# getting the accessKeyID and secretAccessKey from an already created Kubernetes Secret
auth:
secretRef:
accessKeyID:
name: awssm-secret
key: access-key
# provider field contains the configuration to access the provider which contains the secret
# exactly one provider must be configured.
provider:
# AWSSM configures this store to sync secrets using AWS Secret Manager provider
awssm:
# Auth defines the information necessary to authenticate against AWS by
# getting the accessKeyID and secretAccessKey from an already created Kubernetes Secret
auth:
secretRef:
accessKeyID:
name: awssm-secret
key: access-key
secretAccessKey:
name: awssm-secret
key: secret-access-key
secretAccessKey:
name: awssm-secret
key: secret-access-key
# Role is a Role ARN which the SecretManager provider will assume
role: iam-role
# Role is a Role ARN which the SecretManager provider will assume
role: iam-role
# AWS Region to be used for the provider
region: eu-central-1
# AWS Region to be used for the provider
region: eu-central-1
status:
# * Pending: e.g. referenced secret containing credentials is missing