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====================================================
34 port: {{ .Values.service.port }}
35 nodePort: {{ .Values.service.public_port }}
44 replicas: {{ .Values.replicas.hello }}
54 # Use this Pod Sharing dir to declare various States of starting
56 persistentVolumeClaim:
57 claimName: aaf-hello-pvc
63 chmod -R 775 /opt/app/osaaf
64 chown -R 1000:1000 /opt/app/osaaf
66 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
69 - mountPath: /opt/app/osaaf
71 - name: aaf-hello-config
72 image: "{{ .Values.image.repository }}{{ .Values.service.agentImage }}"
73 imagePullPolicy: IfNotPresent
75 - mountPath: "/opt/app/osaaf"
77 command: ["bash","-c","exec /opt/app/aaf_config/bin/agent.sh"]
80 value: "{{ .Values.service.fqi }}"
81 - name: aaf_locate_url
82 value: "https://aaf-locate.{{.Release.Namespace }}:8095"
83 - name: aaf_locator_container
85 - name: aaf_locator_container_ns
86 value: "{{ .Release.Namespace }}"
87 - name: aaf_locator_fqdn
88 value: "{{.Values.service.fqdn}}"
89 - name: aaf_locator_public_fqdn
90 value: "{{.Values.service.public_fqdn}}"
92 value: "{{ .Values.service.cadi_latitude }}"
93 - name: cadi_longitude
94 value: "{{ .Values.service.cadi_longitude }}"
96 value: "deployer@people.osaaf.org"
97 - name: "DEPLOY_PASSWORD"
105 image: {{ .Values.image.repository }}{{ .Values.service.image }}
106 imagePullPolicy: IfNotPresent
107 command: ["bash","-c","cd /opt/app/aaf && if [ ! -d /opt/app/osaaf/etc ]; then cp -Rf etc logs /opt/app/osaaf; fi && exec bin/hello"]
109 - mountPath: "/opt/app/osaaf"
114 containerPort: {{ .Values.service.port }}