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,21 @@
apiVersion: v1
kind: Pod
metadata:
name: dapi-test-pod
spec:
containers:
- name: test-container
image: k8s.gcr.io/busybox
command: [ "/bin/sh", "-c", "env" ]
env:
- name: SPECIAL_LEVEL_KEY
valueFrom:
configMapKeyRef:
name: special-config
key: special.how
- name: LOG_LEVEL
valueFrom:
configMapKeyRef:
name: env-config
key: log_level
restartPolicy: Never