Merge pull request #42956 from Henni/patch-1

Fix & Clarify files secretGenerator
This commit is contained in:
Kubernetes Prow Robot 2023-10-06 00:06:23 +02:00 committed by GitHub
commit 317df88b0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ secretGenerator:
- password=1f2d1e2e67df
{{< /tab >}}
{{% tab name="Files" %}}
1. Store the credentials in files with the values encoded in base64:
1. Store the credentials in files. The filenames are the keys of the secret:
```shell
echo -n 'admin' > ./username.txt
@ -146,4 +146,4 @@ kubectl delete secret db-user-pass
- Read more about the [Secret concept](/docs/concepts/configuration/secret/)
- Learn how to [manage Secrets using kubectl](/docs/tasks/configmap-secret/managing-secret-using-kubectl/)
- Learn how to [manage Secrets using config file](/docs/tasks/configmap-secret/managing-secret-using-config-file/)
- Learn how to [manage Secrets using config file](/docs/tasks/configmap-secret/managing-secret-using-config-file/)