Browse Source

Update docs/snippets/full-external-secret.yaml

Co-authored-by: Gustavo Fernandes de Carvalho <gusfcarvalho@gmail.com>
Sebastián Gómez 4 years ago
parent
commit
c7170125be
1 changed files with 3 additions and 9 deletions
  1. 3 9
      docs/snippets/full-external-secret.yaml

+ 3 - 9
docs/snippets/full-external-secret.yaml

@@ -73,20 +73,14 @@ spec:
   # Used to fetch the desired property from the Provider key
   # If multiple dataFrom are specified, secrets are merged in the specified order
   dataFrom:
-  - extract:
+  - extract: # Supported methods are `extract` and `find`. If both are defined, `extract` is ignored. 
       key: provider-key
       version: provider-key-version
       property: provider-key-property
-
-  # Used to fetch many secrets based on a regular expression of their name
-  dataFrom:
-  - find:
+  - find:   # Used to fetch many secrets based on a regular expression of their name
       name:
         regexp: "regexp-name"
-
-  # Used to fetch many secrets based on the tags (or attributes) in the Provider
-  dataFrom:
-  - find:
+  - find:  # Used to fetch many secrets based on the tags (or attributes) in the Provider
       tags:
         tag-key: tag-value