1 apiVersion: extensions/v1beta1
7 namespace: "{{ .Values.nsPrefix }}-portal"
18 pod.beta.kubernetes.io/init-containers: '[
33 "fieldPath": "metadata.namespace"
38 "image": "{{ .Values.image.readiness }}",
39 "imagePullPolicy": "{{ .Values.pullPolicy }}",
40 "name": "vnc-portal-readiness"
53 "value": "{{ .Values.nsPrefix }}-policy"
56 "image": "{{ .Values.image.readiness }}",
57 "imagePullPolicy": "{{ .Values.pullPolicy }}",
58 "name": "vnc-pap-readiness"
71 "value": "{{ .Values.nsPrefix }}-sdc"
74 "image": "{{ .Values.image.readiness }}",
75 "imagePullPolicy": "{{ .Values.pullPolicy }}",
76 "name": "vnc-sdc-readiness"
89 "value": "{{ .Values.nsPrefix }}-vid"
92 "image": "{{ .Values.image.readiness }}",
93 "imagePullPolicy": "{{ .Values.pullPolicy }}",
94 "name": "vnc-vid-readiness"
97 "command": ["/bin/sh","-c"],
98 "args": ["echo `host sdc-be.{{ .Values.nsPrefix }}-sdc | awk ''{print$4}''` sdc.api.be.simpledemo.onap.org >> /ubuntu-init/hosts; echo `host portalapps.{{ .Values.nsPrefix }}-portal | awk ''{print$4}''` portal.api.simpledemo.onap.org >> /ubuntu-init/hosts; echo `host pap.{{ .Values.nsPrefix }}-policy | awk ''{print$4}''` policy.api.simpledemo.onap.org >> /ubuntu-init/hosts; echo `host sdc-fe.{{ .Values.nsPrefix }}-sdc | awk ''{print$4}''` sdc.api.simpledemo.onap.org >> /ubuntu-init/hosts; echo `host vid-server.{{ .Values.nsPrefix }}-vid | awk ''{print$4}''` vid.api.simpledemo.onap.org >> /ubuntu-init/hosts; echo `host sparky-be.{{ .Values.nsPrefix }}-aai | awk ''{print$4}''` aai.api.simpledemo.onap.org >> /ubuntu-init/hosts"],
99 "image": "{{ .Values.image.ubuntuInit }}",
100 "imagePullPolicy": "{{ .Values.pullPolicy }}",
101 "name": "vnc-init-hosts",
104 "name": "ubuntu-init",
105 "mountPath": "/ubuntu-init/"
112 - image: {{ .Values.image.ubuntuDesktop }}
113 imagePullPolicy: {{ .Values.pullPolicy }}
117 command: ["/bin/sh", "-c", "cat /ubuntu-init/hosts >> /etc/hosts"]
123 - mountPath: /etc/localtime
126 - mountPath: /ubuntu-init/
138 - name: "{{ .Values.nsPrefix }}-docker-registry-key"