diff options
Diffstat (limited to 'kubernetes/config/pod-config-init.yaml')
-rw-r--r-- | kubernetes/config/pod-config-init.yaml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/kubernetes/config/pod-config-init.yaml b/kubernetes/config/pod-config-init.yaml new file mode 100644 index 0000000000..858e88714b --- /dev/null +++ b/kubernetes/config/pod-config-init.yaml @@ -0,0 +1,24 @@ +apiVersion: v1 +kind: Pod +metadata: + name: config-init +spec: + containers: + - name: config-init + env: + - name: NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace + - name: OWNER + value: onapdemo + image: oomk8s/config-init:1.0.0 + imagePullPolicy: Always + volumeMounts: + - name: config-init-root + mountPath: /config-init/ + volumes: + - name: config-init-root + hostPath: + path: /dockerdata-nfs/ + restartPolicy: Never |