Browse Source

Update documentation

Daniel Hix 4 years ago
parent
commit
6811bcbd0b
2 changed files with 10 additions and 2 deletions
  1. 10 0
      docs/snippets/full-cluster-secret-store.yaml
  2. 0 2
      docs/snippets/full-secret-store.yaml

+ 10 - 0
docs/snippets/full-cluster-secret-store.yaml

@@ -42,7 +42,17 @@ spec:
       version: "v2"
       # vault enterprise namespace: https://www.vaultproject.io/docs/enterprise/namespaces
       namespace: "a-team"
+      # base64 encoded string of certificate
       caBundle: "..."
+      # Instead of caBundle you can also specify a caProvider
+      # this will retrieve the cert from a Secret or ConfigMap
+      caProvider:
+        # Can be Secret or ConfigMap
+        type: "Secret"
+        # This is optional, if not specified will be 'Default'
+        namespace: "my-cert-secret-namespace"
+        name: "my-cert-secret"
+        key: "cert-key"
       auth:
         # static token: https://www.vaultproject.io/docs/auth/token
         tokenSecretRef:

+ 0 - 2
docs/snippets/full-secret-store.yaml

@@ -50,8 +50,6 @@ spec:
       caProvider:
         # Can be Secret or ConfigMap
         type: "Secret"
-        # This is optional, if not specified will be 'Default'
-        namespace: "my-cert-secret-namespace"
         name: "my-cert-secret"
         key: "cert-key"