Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[zh] Add translations to /storage/projected-volumes.md
- Loading branch information
1 parent
751ec13
commit f51c49a
Showing
3 changed files
with
92 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
content/zh-cn/examples/pods/storage/projected-clustertrustbundle.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
apiVersion: v1 | ||
kind: Pod | ||
metadata: | ||
name: sa-ctb-name-test | ||
spec: | ||
containers: | ||
- name: container-test | ||
image: busybox | ||
command: ["sleep", "3600"] | ||
volumeMounts: | ||
- name: token-vol | ||
mountPath: "/root-certificates" | ||
readOnly: true | ||
serviceAccountName: default | ||
volumes: | ||
- name: root-certificates-vol | ||
projected: | ||
sources: | ||
- clusterTrustBundle: | ||
name: example | ||
path: example-roots.pem | ||
- clusterTrustBundle: | ||
signerName: "example.com/mysigner" | ||
labelSelector: | ||
matchLabels: | ||
version: live | ||
path: mysigner-roots.pem | ||
optional: true |