Merge pull request from suning0/suning020707

[zh-cn]Update secret-pod.yaml
pull/39348/head
Kubernetes Prow Robot 2023-02-08 03:40:58 -08:00 committed by GitHub
commit 075d2bd73d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions
content/zh-cn/examples/pods/inject

View File

@ -10,6 +10,7 @@ spec:
# name 必须与下面的卷名匹配
- name: secret-volume
mountPath: /etc/secret-volume
readOnly: true
# Secret 数据通过一个卷暴露给该 Pod 中的容器
volumes:
- name: secret-volume