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.service.fqdn}}
34 nodePort: {{.Values.services.service.public_port}}
35 port: {{.Values.services.service.internal_port}}
44 replicas: {{ .Values.services.service.replicas }}
54 - name: aaf-config-vol
55 persistentVolumeClaim:
56 claimName: aaf-config-pvc
57 - name: aaf-status-vol
58 persistentVolumeClaim:
59 claimName: aaf-status-pvc
65 chmod -R 775 /opt/app/aaf/status
66 chown -R 1000:1000 /opt/app/aaf/status
67 chmod -R 775 /opt/app/osaaf
68 chown -R 1000:1000 /opt/app/osaaf
70 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
73 - mountPath: /opt/app/aaf/status
75 - mountPath: /opt/app/osaaf
77 - name: aaf-config-container
78 image: {{ .Values.image.repository }}onap/aaf/aaf_config:{{ .Values.image.version }}
79 imagePullPolicy: IfNotPresent
80 command: ["bash","-c","/opt/app/aaf_config/bin/agent.sh"]
82 - mountPath: "/opt/app/osaaf"
84 - mountPath: "/opt/app/aaf/status"
88 value: "{{ .Values.services.aaf_env }}"
90 value: "{{ .Values.services.aaf_id }}"
91 - name: aaf_locate_url
92 value: "https://aaf-locate.{{.Release.Namespace }}:{{.Values.services.locate.internal_port}}"
93 - name: aaf_locator_container
95 - name: aaf_locator_container_ns
96 value: "{{ .Release.Namespace }}"
97 - name: aaf_locator_fqdn
98 value: "{{.Values.services.fqdn}}"
99 - name: aaf_locator_public_fqdn
100 value: "{{.Values.services.public_fqdn}}"
101 - name: cadi_latitude
102 value: "{{ .Values.services.cadi_latitude }}"
103 - name: cadi_longitude
104 value: "{{ .Values.services.cadi_longitude }}"
105 - name: cm_always_ignore_ips
107 - name: CASSANDRA_CLUSTER
108 value: "{{.Values.services.cass.fqdn}}.{{.Release.Namespace }}"
109 # - name: CASSANDRA_USER
111 # - name: CASSANDRA_PASSWORD
113 # - name: CASSANDRA_PORT
120 image: {{ .Values.image.repository }}onap/aaf/aaf_core:{{ .Values.image.version }}
121 imagePullPolicy: IfNotPresent
122 command: ["/bin/bash","-c","cd /opt/app/aaf && /bin/bash bin/pod_wait.sh aaf-service nc aaf-cass.{{ .Release.Namespace }} {{ .Values.services.cass.native_trans_port }} aaf-cass && exec bin/service"]
124 - mountPath: "/opt/app/osaaf"
126 - mountPath: "/opt/app/aaf/status"
131 containerPort: {{.Values.services.service.internal_port}}