1 # Copyright (C) 2021 Wind River Systems, Inc.
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
20 namespace: {{ .Values.global.namespace }}
33 serviceAccountName: {{ .Values.o2ims.serviceaccountname }}
35 # - name: {{ .Values.o2ims.imagePullSecrets }}
36 {{- if .Values.o2ims.affinity }}
38 {{ toYaml .Values.o2ims.affinity | indent 8 }}
46 - name: POSTGRES_PASSWORD
50 command: ["/bin/bash", "/opt/postgres_start.sh"]
59 image: "{{ .Values.o2ims.image.repository }}:{{ .Values.o2ims.image.tag }}"
60 command: ["/bin/bash", "/opt/o2pubsub_start.sh"]
66 - name: LOGGING_CONFIG_LEVEL
67 value: {{ .Values.o2ims.logginglevel }}
69 value: {{ .Values.ocloud.OS_AUTH_URL }}
71 value: {{ .Values.ocloud.OS_PASSWORD }}
73 value: {{ .Values.ocloud.OS_USERNAME }}
74 - name: PYTHONDONTWRITEBYTECODE
78 - name: K8S_KUBECONFIG
79 value: {{ .Values.ocloud.K8S_KUBECONFIG }}
84 image: "{{ .Values.o2ims.image.repository }}:{{ .Values.o2ims.image.tag }}"
85 command: ["/bin/bash", "/opt/o2watcher_start.sh"]
87 - name: API_HOST_EXTERNAL_FLOATING
88 value: {{ .Values.ocloud.API_HOST_EXTERNAL_FLOATING }}
93 - name: LOGGING_CONFIG_LEVEL
94 value: {{ .Values.o2ims.logginglevel }}
96 value: {{ .Values.ocloud.OS_AUTH_URL }}
98 value: {{ .Values.ocloud.OS_PASSWORD }}
100 value: {{ .Values.ocloud.OS_USERNAME }}
101 - name: PYTHONDONTWRITEBYTECODE
109 image: "{{ .Values.o2ims.image.repository }}:{{ .Values.o2ims.image.tag }}"
113 - name: API_HOST_EXTERNAL_FLOATING
114 value: {{ .Values.ocloud.API_HOST_EXTERNAL_FLOATING }}
120 value: /src/o2app/entrypoints/flask_application.py
122 value: {{ .Values.o2ims.logginglevel }}
123 - name: LOGGING_CONFIG_LEVEL
124 value: {{ .Values.o2ims.logginglevel }}
128 - name: PYTHONDONTWRITEBYTECODE
130 - name: PYTHONUNBUFFERED
134 - name: HELM_USER_PASSWD
135 value: {{ .Values.ocloud.HELM_USER_PASSWD }}
136 command: ["/bin/bash", "/opt/o2api_start.sh"]
143 image: "{{ .Values.o2ims.image.repository }}:{{ .Values.o2ims.image.tag }}"
147 - name: API_HOST_EXTERNAL_FLOATING
148 value: {{ .Values.ocloud.API_HOST_EXTERNAL_FLOATING }}
149 - name: HELM_USER_PASSWD
150 value: {{ .Values.ocloud.HELM_USER_PASSWD }}
151 command: ["/bin/bash", "/opt/o2_helmcli_start.sh"]
160 name: {{ .Chart.Name }}-scripts-configmap