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...
```
Its also possible that a user can create a single secret for the certificates
and update the configuration to fetch certificates from a secret.
It is also possible for a user to create a single Secret that contains both
the client authentication and update the configuration to fetch the certificate
and key from the Secret.
```yaml
---
apiVersion: v1
kind: secret
metadata:
name: vault-certificates
name: vault-client-auth
stringData:
cert: |
MIIC2DCCAcCgAwIBAgIBATANBgkqh...
cert: |
BATANBgkqcCgAwIBAgIBATANBAwI...
key: |
KNSC2DVVXcCgkqcCgAwIBAgIwewrvx...
```