From 62608c9fa8aa57c7c4e139a6a6e2301bc1ebb2bc Mon Sep 17 00:00:00 2001 From: Moritz Johner Date: Wed, 9 Dec 2020 08:31:29 +0100 Subject: [PATCH] fix: root providers under a provider field This is needed for easy-to-use CR validation, see external-secrets/external-secrets#9 --- Spec.md | 35 +++++++++++++++++++---------------- 1 file changed, 19 insertions(+), 16 deletions(-) diff --git a/Spec.md b/Spec.md index ffa8b7ff1..4dab35a62 100644 --- a/Spec.md +++ b/Spec.md @@ -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