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.locate.fqdn}}
34 port: {{.Values.services.locate.internal_port}}
35 nodePort: {{.Values.services.locate.public_port}}
44 replicas: {{ .Values.services.locate.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
66 chmod -R 775 /opt/app/aaf/status
67 chown -R 1000:1000 /opt/app/aaf/status
68 chmod -R 775 /opt/app/osaaf
69 chown -R 1000:1000 /opt/app/osaaf
71 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
74 - mountPath: /opt/app/aaf/status
76 - mountPath: /opt/app/osaaf
78 - name: aaf-config-container
79 image: {{ .Values.image.repository }}onap/aaf/aaf_config:{{ .Values.image.version }}
80 imagePullPolicy: IfNotPresent
81 command: ["bash","-c","cd /opt/app/aaf_config && bin/pod_wait.sh config aaf-service rm"]
83 - mountPath: "/opt/app/aaf/status"
90 image: {{ .Values.image.repository }}onap/aaf/aaf_core:{{ .Values.image.version }}
91 imagePullPolicy: IfNotPresent
92 command: ["/bin/bash","-c","cd /opt/app/aaf && /bin/bash bin/pod_wait.sh aaf-locate nc aaf-cass.{{ .Release.Namespace }} {{ .Values.services.cass.native_trans_port }} aaf-service && exec bin/locate"]
94 - mountPath: "/opt/app/osaaf"
96 - mountPath: "/opt/app/aaf/status"
99 - name: {{.Values.services.locate.fqdn}}
101 containerPort: {{.Values.services.locate.internal_port}}