aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/config/pod-config-init.yaml
blob: 858e88714bbfa1b83a1805d9c5fc9ecfe4e8f8a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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