2 ## ============LICENSE_START====================================================
4 ## ===========================================================================
5 ## Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
6 ## ===========================================================================
7 ## Licensed under the Apache License, Version 2.0 (the "License");
8 ## you may not use this file except in compliance with the License.
9 ## You may obtain a copy of the License at
11 ## http://www.apache.org/licenses/LICENSE-2.0
13 ## Unless required by applicable law or agreed to in writing, software
14 ## distributed under the License is distributed on an "AS IS" BASIS,
15 ## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 ## See the License for the specific language governing permissions and
17 ## limitations under the License.
18 ## ============LICENSE_END====================================================
45 replicas: {{ .Values.replicas.gui }}
55 # Use this Pod Sharing dir to declare various States of starting
56 - name: {{ .Chart.Name }}-config-vol
57 persistentVolumeClaim:
58 claimName: {{ .Chart.Name }}-config-pvc
59 - name: {{ .Chart.Name }}-status-vol
60 persistentVolumeClaim:
61 claimName: {{ .Chart.Name }}-status-pvc
63 - name: {{ .Chart.Name }}-config-container
64 image: {{ .Values.image.repository }}onap/aaf/aaf_config:{{ .Values.image.version }}
65 imagePullPolicy: IfNotPresent
66 command: ["bash","/opt/app/aaf_config/bin/agent.sh"]
68 - mountPath: "/opt/app/osaaf"
69 name: {{ .Chart.Name }}-config-vol
72 value: "{{ .Values.cadi.aaf_env }}"
74 value: "{{ .Values.cadi.cadi_latitude }}"
76 value: "{{ .Values.cadi.cadi_longitude }}"
77 - name: aaf_locator_container
79 - name: aaf_locator_container_ns
82 fieldPath: metadata.namespace
83 - name: aaf_locate_url
84 value: "https://aaf-locate.onap:8095"
85 - name: aaf_locator_public_fqdn
86 value: "aaf.osaaf.org"
87 - name: CASSANDRA_CLUSTER
89 # - name: CASSANDRA_USER
91 # - name: CASSANDRA_PASSWORD
93 # - name: CASSANDRA_PORT
99 - name: {{ .Chart.Name }}-gui
100 image: {{ .Values.image.repository }}onap/aaf/aaf_gui:{{ .Values.image.version }}
101 imagePullPolicy: IfNotPresent
102 command: ["/bin/bash","-c","cd /opt/app/aaf && /bin/bash bin/pod_wait.sh aaf-gui aaf-locate && exec bin/gui"]
104 - mountPath: "/opt/app/osaaf"
105 name: {{ .Chart.Name }}-config-vol
106 - mountPath: "/opt/app/aaf/status"
107 name: {{ .Chart.Name }}-status-vol