onap on kubernetes source files
[oom.git] / kubernetes / config / pod-config-init.yaml
1 apiVersion: v1
2 kind: Pod
3 metadata:
4   name: config-init
5 spec:
6   containers:
7     - name: config-init
8       env:
9       - name: NAMESPACE
10         valueFrom:
11           fieldRef:
12             fieldPath: metadata.namespace
13       - name: OWNER
14         value: onapdemo
15       image: oomk8s/config-init:1.0.0
16       imagePullPolicy: Always
17       volumeMounts:
18       - name: config-init-root
19         mountPath: /config-init/
20   volumes:
21     - name: config-init-root
22       hostPath:
23         path: /dockerdata-nfs/
24   restartPolicy: Never