summaryrefslogtreecommitdiffstats
path: root/kubernetes/config/pod-config-init.yaml
diff options
context:
space:
mode:
authorMandeep Khinda <Mandeep.Khinda@amdocs.com>2017-06-24 11:49:37 -0400
committerMandeep Khinda <Mandeep.Khinda@amdocs.com>2017-06-24 11:49:37 -0400
commitd6ea987caed84a9f36030a5a1516df7c6186362d (patch)
tree265dda9cfb43a78542e4b2ccac382a8a5583bc56 /kubernetes/config/pod-config-init.yaml
parent43d96ac929c93d0aa2a55d860e0425a39118f7b4 (diff)
onap on kubernetes source files
Change-Id: I4de34baf90979651223a28323010deb7aef21946 Signed-off-by: Mandeep Khinda <Mandeep.Khinda@amdocs.com>
Diffstat (limited to 'kubernetes/config/pod-config-init.yaml')
-rw-r--r--kubernetes/config/pod-config-init.yaml24
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