onap on kubernetes source files
[oom.git] / kubernetes / config / pod-config-init.yaml
diff --git a/kubernetes/config/pod-config-init.yaml b/kubernetes/config/pod-config-init.yaml
new file mode 100644 (file)
index 0000000..858e887
--- /dev/null
@@ -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