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====================================================
32 - name: {{.Values.services.gui.fqdn}}
35 port: {{.Values.services.gui.internal_port}}
36 targetPort: {{.Values.services.gui.internal_port}}
45 replicas: {{ .Values.services.gui.replicas }}
55 # Use this Pod Sharing dir to declare various States of starting
56 - name: aaf-config-vol
57 persistentVolumeClaim:
58 claimName: aaf-config-pvc
59 - name: aaf-status-vol
60 persistentVolumeClaim:
61 claimName: aaf-status-pvc
63 - name: aaf-config-container
64 image: {{ .Values.image.repository }}onap/aaf/aaf_config:{{ .Values.image.version }}
65 imagePullPolicy: IfNotPresent
66 command: ["bash","-c","cd /opt/app/aaf_config && bin/pod_wait.sh config aaf-service rm && bin/agent.sh"]
68 - mountPath: "/opt/app/osaaf"
70 - mountPath: "/opt/app/aaf/status"
74 value: "{{ .Values.services.aaf_env }}"
76 value: "{{ .Values.services.cadi_latitude }}"
78 value: "{{ .Values.services.cadi_longitude }}"
79 - name: aaf_locator_container
81 - name: aaf_locator_container_ns
84 fieldPath: metadata.namespace
85 - name: aaf_locate_url
86 value: "https://aaf-locate.{{.Release.Namespace }}:{{.Values.services.locate.internal_port}}"
87 - name: aaf_locator_public_fqdn
88 value: "{{.Values.services.public_fqdn}}"
89 - name: aaf_locator_name
90 value: "{{.Values.services.aaf_locator_name}}"
91 - name: aaf_locator_name_helm
92 value: "{{.Values.services.aaf_locator_name_helm}}"
93 - name: aaf_deployed_version
94 value: "{{ .Values.image.version }}"
95 - name: CASSANDRA_CLUSTER
96 value: "{{.Values.services.cass.fqdn}}.{{.Values.services.ns}}"
97 # - name: CASSANDRA_USER
99 # - name: CASSANDRA_PASSWORD
101 # - name: CASSANDRA_PORT
108 image: {{ .Values.image.repository }}onap/aaf/aaf_core:{{ .Values.image.version }}
109 imagePullPolicy: IfNotPresent
110 command: ["/bin/bash","-c","cd /opt/app/aaf && /bin/bash bin/pod_wait.sh aaf-gui aaf-locate && exec bin/gui"]
112 - mountPath: "/opt/app/osaaf"
114 - mountPath: "/opt/app/aaf/status"
117 - name: {{.Values.services.gui.fqdn}}
119 containerPort: {{.Values.services.gui.internal_port}}