Add codenew shortcode to configure-pod-configmap task file and sanitize the example files (#13078)

This commit is contained in:
Dani Comnea
2019-03-12 03:28:38 +00:00
committed by Kubernetes Prow Robot
parent 5e50314b27
commit e38f800d81
14 changed files with 287 additions and 214 deletions
@@ -0,0 +1,20 @@
apiVersion: v1
kind: Pod
metadata:
name: dapi-test-pod
spec:
containers:
- name: test-container
image: k8s.gcr.io/busybox
command: [ "/bin/sh","-c","cat /etc/config/keys" ]
volumeMounts:
- name: config-volume
mountPath: /etc/config
volumes:
- name: config-volume
configMap:
name: special-config
items:
- key: special.level
path: keys
restartPolicy: Never