Skip to content

Commit 3237e6a

Browse files
committed
[zh-cn]Update secret-pod.yaml
1 parent 1a8bd52 commit 3237e6a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

content/zh-cn/examples/pods/inject/secret-pod.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ spec:
1010
# name 必须与下面的卷名匹配
1111
- name: secret-volume
1212
mountPath: /etc/secret-volume
13+
readOnly: true
1314
# Secret 数据通过一个卷暴露给该 Pod 中的容器
1415
volumes:
1516
- name: secret-volume

0 commit comments

Comments
 (0)