Skip to content

Commit 075d2bd

Browse files
authored
Merge pull request #39331 from suning0/suning020707
[zh-cn]Update secret-pod.yaml
2 parents 0e66780 + 3237e6a commit 075d2bd

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)