4 name: {{ .Values.cadi.hostname }}
5 namespace: {{ .Values.global.common.namespace }}
8 - name: {{ .Chart.Name }}-config-vol
10 claimName: {{ .Chart.Name }}-config-pvc
11 - name: {{ .Chart.Name }}-logs-vol
12 persistentVolumeClaim:
13 claimName: {{ .Chart.Name }}-logs-pvc
14 - name: {{ .Chart.Name }}-cass-vol
15 persistentVolumeClaim:
16 claimName: {{ .Chart.Name }}-cass-pvc
17 # Use this Pod Sharing dir to declare various States of starting
18 - name: {{ .Chart.Name }}-pod-status
23 - "cass.{{ .Values.cadi.hostname }}"
24 - "service.{{ .Values.cadi.hostname }}"
25 - "locate.{{ .Values.cadi.hostname }}"
26 - "oauth.{{ .Values.cadi.hostname }}"
27 - "gui.{{ .Values.cadi.hostname }}"
28 - "cm.{{ .Values.cadi.hostname }}"
29 - "hello.{{ .Values.cadi.hostname }}"
30 - "fs.{{ .Values.cadi.hostname }}"
32 ### DEFINE THE CONTAINERS
40 - name: {{ .Chart.Name }}-config-container
41 image: {{ .Values.image.repository }}onap/aaf/aaf_config:{{ .Values.image.version }}
42 imagePullPolicy: IfNotPresent
44 - mountPath: "/opt/app/osaaf"
45 name: {{ .Chart.Name }}-config-vol
48 value: "{{ .Values.cadi.hostname }}"
50 value: "{{ .Values.cadi.aaf_env }}"
51 - name: AAF_REGISTER_AS
52 value: "{{ .Values.cadi.aaf_register_as }}"
54 value: "{{ .Values.cadi.cadi_latitude }}"
56 value: "{{ .Values.cadi.cadi_longitude }}"
58 ### Regular Containers
64 - name: {{ .Chart.Name }}-cass
65 image: {{ .Values.image.repository }}onap/aaf/aaf_cass:{{ .Values.image.version }}
66 imagePullPolicy: IfNotPresent
67 # installing with cmd "onap" will not only initialize the DB, but add ONAP bootstrap data as well
68 command: ["/bin/bash","/opt/app/aaf/cass_init/cmd.sh","onap"]
71 name: {{ .Chart.Name }}-cass-vol
72 - mountPath: "/opt/app/aaf/status"
73 name: {{ .Chart.Name }}-pod-status
84 - name: CASSANDRA_CLUSTER_NAME
95 - name: {{ .Chart.Name }}-service
96 image: {{ .Values.image.repository }}onap/aaf/aaf_service:{{ .Values.image.version }}
97 imagePullPolicy: IfNotPresent
98 command: ["/bin/bash","/opt/app/aaf/pod/pod_wait.sh","aaf_service","aaf_cass","/opt/app/aaf/bin/service"]
100 - mountPath: "/opt/app/osaaf"
101 name: {{ .Chart.Name }}-config-vol
102 - mountPath: "/opt/app/aaf/status"
103 name: {{ .Chart.Name }}-pod-status
111 value: "{{ .Values.cadi.hostname }}"
113 value: "{{ .Values.cadi.aaf_env }}"
114 - name: AAF_REGISTER_AS
115 value: "{{ .Values.cadi.aaf_register_as }}"
117 value: "{{ .Values.cadi.cadi_latitude }}"
119 value: "{{ .Values.cadi.cadi_longitude }}"
121 value: "cass.{{ .Values.cadi.hostname }}:127.0.0.1"
125 - name: {{ .Chart.Name }}-locate
126 image: {{ .Values.image.repository }}onap/aaf/aaf_locate:{{ .Values.image.version }}
127 imagePullPolicy: IfNotPresent
128 command: ["/bin/bash","/opt/app/aaf/pod/pod_wait.sh","aaf_locate","aaf_service","/opt/app/aaf/bin/locate"]
130 - mountPath: "/opt/app/osaaf"
131 name: {{ .Chart.Name }}-config-vol
132 - mountPath: "/opt/app/aaf/status"
133 name: {{ .Chart.Name }}-pod-status
141 value: "{{ .Values.cadi.hostname }}"
143 value: "{{ .Values.cadi.aaf_env }}"
144 - name: AAF_REGISTER_AS
145 value: "{{ .Values.cadi.aaf_register_as }}"
147 value: "{{ .Values.cadi.cadi_latitude }}"
149 value: "{{ .Values.cadi.cadi_longitude }}"
151 value: "cass.{{ .Values.cadi.hostname }}:127.0.0.1"
155 - name: {{ .Chart.Name }}-oauth
156 image: {{ .Values.image.repository }}onap/aaf/aaf_oauth:{{ .Values.image.version }}
157 imagePullPolicy: IfNotPresent
158 command: ["/bin/bash","/opt/app/aaf/pod/pod_wait.sh","aaf_oauth","aaf_service","/opt/app/aaf/bin/oauth"]
160 - mountPath: "/opt/app/osaaf"
161 name: {{ .Chart.Name }}-config-vol
162 - mountPath: "/opt/app/aaf/status"
163 name: {{ .Chart.Name }}-pod-status
171 value: "{{ .Values.cadi.hostname }}"
173 value: "{{ .Values.cadi.aaf_env }}"
174 - name: AAF_REGISTER_AS
175 value: "{{ .Values.cadi.aaf_register_as }}"
177 value: "{{ .Values.cadi.cadi_latitude }}"
179 value: "{{ .Values.cadi.cadi_longitude }}"
181 value: "cass.{{ .Values.cadi.hostname }}:127.0.0.1"
185 - name: {{ .Chart.Name }}-gui
186 image: {{ .Values.image.repository }}onap/aaf/aaf_gui:{{ .Values.image.version }}
187 imagePullPolicy: IfNotPresent
188 command: ["/bin/bash","/opt/app/aaf/pod/pod_wait.sh","aaf_gui","aaf_locate","/opt/app/aaf/bin/gui"]
190 - mountPath: "/opt/app/osaaf"
191 name: {{ .Chart.Name }}-config-vol
192 - mountPath: "/opt/app/aaf/status"
193 name: {{ .Chart.Name }}-pod-status
201 value: "{{ .Values.cadi.hostname }}"
203 value: "{{ .Values.cadi.aaf_env }}"
204 - name: AAF_REGISTER_AS
205 value: "{{ .Values.cadi.aaf_register_as }}"
207 value: "{{ .Values.cadi.cadi_latitude }}"
209 value: "{{ .Values.cadi.cadi_longitude }}"
211 value: "cass.{{ .Values.cadi.hostname }}:127.0.0.1"
215 - name: {{ .Chart.Name }}-cm
216 image: {{ .Values.image.repository }}onap/aaf/aaf_cm:{{ .Values.image.version }}
217 imagePullPolicy: IfNotPresent
218 command: ["/bin/bash","/opt/app/aaf/pod/pod_wait.sh","aaf_cm","aaf_locate","/opt/app/aaf/bin/cm"]
220 - mountPath: "/opt/app/osaaf"
221 name: {{ .Chart.Name }}-config-vol
222 - mountPath: "/opt/app/aaf/status"
223 name: {{ .Chart.Name }}-pod-status
231 value: "{{ .Values.cadi.hostname }}"
233 value: "{{ .Values.cadi.aaf_env }}"
234 - name: AAF_REGISTER_AS
235 value: "{{ .Values.cadi.aaf_register_as }}"
237 value: "{{ .Values.cadi.cadi_latitude }}"
239 value: "{{ .Values.cadi.cadi_longitude }}"
241 value: "cass.{{ .Values.cadi.hostname }}:127.0.0.1"
245 - name: {{ .Chart.Name }}-fs
246 image: {{ .Values.image.repository }}onap/aaf/aaf_fs:{{ .Values.image.version }}
247 imagePullPolicy: IfNotPresent
249 - mountPath: "/opt/app/osaaf"
250 name: {{ .Chart.Name }}-config-vol
258 value: "{{ .Values.cadi.hostname }}"
260 value: "{{ .Values.cadi.aaf_env }}"
261 - name: AAF_REGISTER_AS
262 value: "{{ .Values.cadi.aaf_register_as }}"
264 value: "{{ .Values.cadi.cadi_latitude }}"
266 value: "{{ .Values.cadi.cadi_longitude }}"
270 - name: {{ .Chart.Name }}-hello
271 image: {{ .Values.image.repository }}onap/aaf/aaf_hello:{{ .Values.image.version }}
272 imagePullPolicy: IfNotPresent
273 command: ["/bin/bash","/opt/app/aaf/pod/pod_wait.sh","aaf_hello","aaf_locate","/opt/app/aaf/bin/hello"]
275 - mountPath: "/opt/app/osaaf"
276 name: {{ .Chart.Name }}-config-vol
277 - mountPath: "/opt/app/aaf/status"
278 name: {{ .Chart.Name }}-pod-status
286 value: "{{ .Values.cadi.hostname }}"
288 value: "{{ .Values.cadi.aaf_env }}"
289 - name: AAF_REGISTER_AS
290 value: "{{ .Values.cadi.aaf_register_as }}"
292 value: "{{ .Values.cadi.cadi_latitude }}"
294 value: "{{ .Values.cadi.cadi_longitude }}"
296 value: "cass.{{ .Values.cadi.hostname }}:127.0.0.1"