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.oauth.fqdn}}
34 port: {{.Values.services.oauth.internal_port}}
35 nodePort: {{.Values.services.oauth.public_port}}
44 replicas: {{ .Values.services.oauth.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_container_ns
83 fieldPath: metadata.namespace
84 - name: aaf_locate_url
85 value: "https://aaf-locate.{{.Release.Namespace }}:{{.Values.services.locate.internal_port}}"
86 - name: aaf_locator_public_fqdn
87 value: "{{.Values.services.public_fqdn}}"
88 - name: aaf_locator_name
89 value: "{{.Values.services.aaf_locator_name}}"
90 - name: aaf_locator_name_helm
91 value: "{{.Values.services.aaf_locator_name_helm}}"
92 - name: CASSANDRA_CLUSTER
93 value: "{{.Values.services.cass.fqdn}}.{{.Values.services.ns}}"
94 # - name: CASSANDRA_USER
96 # - name: CASSANDRA_PASSWORD
98 # - name: CASSANDRA_PORT
105 image: {{ .Values.image.repository }}onap/aaf/aaf_oauth:{{ .Values.image.version }}
106 imagePullPolicy: IfNotPresent
107 command: ["/bin/bash","-c","cd /opt/app/aaf && /bin/bash bin/pod_wait.sh aaf-oauth nc aaf-cass.{{ .Release.Namespace }} {{ .Values.services.cass.native_trans_port }} aaf-service && exec bin/oauth"]
109 - mountPath: "/opt/app/osaaf"
111 - mountPath: "/opt/app/aaf/status"
114 - name: {{.Values.services.oauth.fqdn}}
116 containerPort: {{.Values.services.oauth.internal_port}}
118 - name: aaf_locator_ns
121 fieldPath: metadata.namespace