[zh-cn] resync pods/YAMLs
This commit is contained in:
@@ -7,10 +7,10 @@ spec:
|
||||
- name: test-container
|
||||
image: nginx
|
||||
volumeMounts:
|
||||
# name must match the volume name below
|
||||
# name 必须与下面的卷名匹配
|
||||
- name: secret-volume
|
||||
mountPath: /etc/secret-volume
|
||||
# The secret data is exposed to Containers in the Pod through a Volume.
|
||||
# Secret 数据通过一个卷暴露给该 Pod 中的容器
|
||||
volumes:
|
||||
- name: secret-volume
|
||||
secret:
|
||||
|
||||
Reference in New Issue
Block a user