Add ID localization distribute-credentials-secure

This commit is contained in:
danninov
2020-08-03 18:29:58 +07:00
parent dab8047c85
commit 68b75b8b88
6 changed files with 321 additions and 0 deletions
@@ -0,0 +1,17 @@
apiVersion: v1
kind: Pod
metadata:
name: secret-test-pod
spec:
containers:
- name: test-container
image: nginx
volumeMounts:
# name must match the volume name below
- name: secret-volume
mountPath: /etc/secret-volume
# The secret data is exposed to Containers in the Pod through a Volume.
volumes:
- name: secret-volume
secret:
secretName: test-secret