doc: correct the keys in certificate secrets

At present the cert keys are not unique which is not correct.
The keys in the secret should be unique and this patch address
the same.

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
This commit is contained in:
Humble Chirammal 2021-04-21 14:29:15 +05:30 committed by mergify[bot]
parent 074c937a08
commit 9dc2b1122d

View File

@ -233,20 +233,19 @@ stringData:
KNSC2DVVXcCgkqcCgAwIBAgIwewrvx... KNSC2DVVXcCgkqcCgAwIBAgIwewrvx...
``` ```
Its also possible that a user can create a single secret for the certificates It is also possible for a user to create a single Secret that contains both
and update the configuration to fetch certificates from a secret. the client authentication and update the configuration to fetch the certificate
and key from the Secret.
```yaml ```yaml
--- ---
apiVersion: v1 apiVersion: v1
kind: secret kind: secret
metadata: metadata:
name: vault-certificates name: vault-client-auth
stringData: stringData:
cert: | cert: |
MIIC2DCCAcCgAwIBAgIBATANBgkqh... MIIC2DCCAcCgAwIBAgIBATANBgkqh...
cert: |
BATANBgkqcCgAwIBAgIBATANBAwI...
key: | key: |
KNSC2DVVXcCgkqcCgAwIBAgIwewrvx... KNSC2DVVXcCgkqcCgAwIBAgIwewrvx...
``` ```