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====================================================
54 # Use this Pod Sharing dir to declare various States of starting
55 - name: {{ .Chart.Name }}-config-vol
58 - name: {{ .Chart.Name }}-config-container
59 image: {{ .Values.image.repository }}onap/aaf/aaf_config:{{ .Values.image.version }}
60 imagePullPolicy: IfNotPresent
62 - mountPath: "/opt/app/osaaf"
63 name: {{ .Chart.Name }}-config-vol
66 value: "{{ .Values.cadi.aaf_env }}"
67 - name: AAF_REGISTER_AS
69 - name: AAF_LOCATOR_AS
70 value: "{{ .Values.cadi.aaf_locate_as }}"
72 value: "{{ .Values.cadi.cadi_latitude }}"
74 value: "{{ .Values.cadi.cadi_longitude }}"
81 - name: {{ .Chart.Name }}-oauth
82 image: {{ .Values.image.repository }}onap/aaf/aaf_oauth:{{ .Values.image.version }}
83 imagePullPolicy: IfNotPresent
84 command: ["/bin/bash","/opt/app/aaf/pod/pod_wait.sh","aaf_oauth","sleep","50", "cd /opt/app/aaf;bin/oauth"]
86 - mountPath: "/opt/app/osaaf"
87 name: {{ .Chart.Name }}-config-vol