Skip to content

Commit 54dbd7f

Browse files
authored
clarify files secretGenerator
- file contents should not be base64 encoded - full filenames are used for the secret's keys
1 parent badc695 commit 54dbd7f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/en/docs/tasks/configmap-secret/managing-secret-using-kustomize.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ secretGenerator:
3535
- password=1f2d1e2e67df
3636
{{< /tab >}}
3737
{{% tab name="Files" %}}
38-
1. Store the credentials in files with the values encoded in base64:
38+
1. Store the credentials in files. The filenames will be the keys of the secret:
3939

4040
```shell
4141
echo -n 'admin' > ./username.txt
@@ -123,4 +123,4 @@ kubectl delete secret db-user-pass
123123

124124
- Read more about the [Secret concept](/docs/concepts/configuration/secret/)
125125
- Learn how to [manage Secrets using kubectl](/docs/tasks/configmap-secret/managing-secret-using-kubectl/)
126-
- Learn how to [manage Secrets using config file](/docs/tasks/configmap-secret/managing-secret-using-config-file/)
126+
- Learn how to [manage Secrets using config file](/docs/tasks/configmap-secret/managing-secret-using-config-file/)

0 commit comments

Comments
 (0)