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.fs.fqdn}}
34 port: {{.Values.services.fs.internal_port}}
35 nodePort: {{.Values.services.fs.public_port}}
44 replicas: {{ .Values.services.fs.replicas }}
54 # Use this Pod Sharing dir to declare various States of starting
55 - name: aaf-config-vol
56 persistentVolumeClaim:
57 claimName: aaf-config-pvc
58 - name: aaf-status-vol
59 persistentVolumeClaim:
60 claimName: aaf-status-pvc
62 - name: aaf-config-container
63 image: {{ .Values.image.repository }}onap/aaf/aaf_config:{{ .Values.image.version }}
64 imagePullPolicy: IfNotPresent
65 command: ["bash","-c","cd /opt/app/aaf_config && bin/pod_wait.sh config aaf-service rm && bin/agent.sh"]
67 - mountPath: "/opt/app/osaaf"
69 - mountPath: "/opt/app/aaf/status"
73 value: "{{ .Values.services.aaf_env }}"
75 value: "{{ .Values.services.cadi_latitude }}"
77 value: "{{ .Values.services.cadi_longitude }}"
78 - name: aaf_locator_container
80 - name: aaf_locator_fqdn
83 fieldPath: status.podIP
84 - name: aaf_locate_url
85 value: "https://aaf-locate.{{.Release.Namespace }}:{{.Values.services.locate.internal_port}}"
86 - name: CASSANDRA_CLUSTER
87 value: "{{.Values.services.cass.fqdn}}.{{.Values.services.ns}}"
88 # - name: CASSANDRA_USER
90 # - name: CASSANDRA_PASSWORD
92 # - name: CASSANDRA_PORT
99 image: {{ .Values.image.repository }}onap/aaf/aaf_fs:{{ .Values.image.version }}
100 imagePullPolicy: IfNotPresent
101 command: ["/bin/bash","-c","cd /opt/app/aaf && /bin/bash bin/pod_wait.sh aaf-fs aaf-locate && exec bin/fs"]
103 - mountPath: "/opt/app/osaaf"
105 - mountPath: "/opt/app/aaf/status"
108 - name: {{.Values.services.fs.fqdn}}
110 containerPort: {{.Values.services.fs.internal_port}}
112 - name: aaf_locator_container
114 - name: aaf_locator_container_ns
117 fieldPath: metadata.namespace
118 - name: aaf_locate_url
119 value: "https://aaf-locate.onap:8095"
120 - name: aaf_locator_public_fqdn
121 value: "{{.Values.services.public_fqdn}}"
122 - name: aaf_locator_name
123 value: "{{.Values.services.aaf_locator_name}}"
124 - name: aaf_locator_name_helm
125 value: "{{.Values.services.aaf_locator_name_helm}}"