blob: fc39fc33871d2b0c6a8965d496af0c97b63d3975 [file] [log] [blame]
Mandeep Khindad6ea9872017-06-24 11:49:37 -04001apiVersion: extensions/v1beta1
2kind: Deployment
3metadata:
4 name: brmsgw
5spec:
6 replicas: 1
7 selector:
8 matchLabels:
9 app: brmsgw
10 template:
11 metadata:
12 labels:
13 app: brmsgw
14 name: brmsgw
15 annotations:
16 pod.beta.kubernetes.io/init-containers: '[
17 {
18 "args": [
19 "--container-name",
20 "mariadb",
21 "--container-name",
22 "nexus",
23 "--container-name",
24 "pap",
25 "--container-name",
26 "pdp",
27 "--container-name",
28 "pypdp"
29 ],
30 "command": [
31 "/root/ready.py"
32 ],
33 "env": [
34 {
35 "name": "NAMESPACE",
36 "valueFrom": {
37 "fieldRef": {
38 "apiVersion": "v1",
39 "fieldPath": "metadata.namespace"
40 }
41 }
42 }
43 ],
44 "image": "oomk8s/readiness-check:1.0.0",
45 "imagePullPolicy": "Always",
46 "name": "brmsgw-readiness"
47 }
48 ]'
49 spec:
50 containers:
51 - command:
52 - /bin/bash
53 - ./do-start.sh
54 - brmsgw
55 image: nexus3.onap.org:10001/openecomp/policy/policy-pe:1.0-STAGING-latest
56 name: brmsgw
57 volumeMounts:
58 - mountPath: /tmp/policy-install/config
59 name: pe
60 volumes:
61 - name: pe
62 hostPath:
63 path: /dockerdata-nfs/onapdemo/policy/opt/policy/config/pe/