Update configure-projected-volume-storage.md
This commit is contained in:
@@ -59,7 +59,7 @@ Here is the configuration file for the Pod:
|
|||||||
```shell
|
```shell
|
||||||
# 创建包含用户名和密码的文件:
|
# 创建包含用户名和密码的文件:
|
||||||
echo -n "admin" > ./username.txt
|
echo -n "admin" > ./username.txt
|
||||||
echo -n "1f2d1e2e67df" > ./password.txt-->
|
echo -n "1f2d1e2e67df" > ./password.txt
|
||||||
|
|
||||||
# 将上述文件引用到 Secret:
|
# 将上述文件引用到 Secret:
|
||||||
kubectl create secret generic user --from-file=./username.txt
|
kubectl create secret generic user --from-file=./username.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user