Remove Base64'ing of file contents

Updated example of reading secret values from a file so that it doesn't base64 the contents in the file before kubectl reads it.
pull/38376/head
Tom Walker 2022-12-10 08:21:39 +02:00 committed by GitHub
parent 45fc4852fe
commit f2dc4d2ebd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -76,13 +76,13 @@ characters.
### 使用源文件
<!--
1. Store the credentials in files with the values encoded in base64:
1. Store the credentials in files:
-->
1. 对凭证的取值作 base64 编码后保存到文件中
1. 将凭据保存到文件
```shell
echo -n 'admin' | base64 > ./username.txt
echo -n 'S!B\*d$zDsb=' | base64 > ./password.txt
echo -n 'admin' > ./username.txt
echo -n 'S!B\*d$zDsb=' > ./password.txt
```
<!--