1 # Copyright (C) 2021 Wind River Systems, Inc.
\r
3 # Licensed under the Apache License, Version 2.0 (the "License");
\r
4 # you may not use this file except in compliance with the License.
\r
5 # You may obtain a copy of the License at
\r
7 # http://www.apache.org/licenses/LICENSE-2.0
\r
9 # Unless required by applicable law or agreed to in writing, software
\r
10 # distributed under the License is distributed on an "AS IS" BASIS,
\r
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
12 # See the License for the specific language governing permissions and
\r
13 # limitations under the License.
\r
20 namespace: {{ .Values.global.namespace }}
\r
34 - name: {{ .Values.o2ims.imagePullSecrets }}
\r
35 {{- if .Values.o2ims.affinity }}
\r
37 {{ toYaml .Values.o2ims.affinity | indent 8 }}
\r
43 - containerPort: 5432
\r
45 - name: POSTGRES_PASSWORD
\r
47 - name: POSTGRES_USER
\r
49 command: ["/bin/bash", "/opt/postgres_start.sh"]
\r
56 - containerPort: 6379
\r
58 image: "{{ .Values.o2ims.image.repository }}:{{ .Values.o2ims.image.tag }}"
\r
59 command: ["/bin/bash", "/opt/o2pubsub_start.sh"]
\r
65 - name: LOGGING_CONFIG_LEVEL
\r
66 value: {{ .Values.o2ims.logginglevel }}
\r
68 value: {{ .Values.ocloud.OS_AUTH_URL }}
\r
70 value: {{ .Values.ocloud.OS_PASSWORD }}
\r
72 value: {{ .Values.ocloud.OS_USERNAME }}
\r
73 - name: PYTHONDONTWRITEBYTECODE
\r
77 - name: K8S_KUBECONFIG
\r
78 value: {{ .Values.ocloud.K8S_KUBECONFIG }}
\r
83 image: "{{ .Values.o2ims.image.repository }}:{{ .Values.o2ims.image.tag }}"
\r
84 command: ["/bin/bash", "/opt/o2watcher_start.sh"]
\r
90 - name: LOGGING_CONFIG_LEVEL
\r
91 value: {{ .Values.o2ims.logginglevel }}
\r
93 value: {{ .Values.ocloud.OS_AUTH_URL }}
\r
95 value: {{ .Values.ocloud.OS_PASSWORD }}
\r
97 value: {{ .Values.ocloud.OS_USERNAME }}
\r
98 - name: PYTHONDONTWRITEBYTECODE
\r
106 image: "{{ .Values.o2ims.image.repository }}:{{ .Values.o2ims.image.tag }}"
\r
108 - containerPort: 80
\r
114 - name: DB_PASSWORD
\r
117 value: /root/o2/o2app/entrypoints/flask_application.py
\r
118 - name: FLASK_DEBUG
\r
119 value: {{ .Values.o2ims.logginglevel }}
\r
120 - name: LOGGING_CONFIG_LEVEL
\r
121 value: {{ .Values.o2ims.logginglevel }}
\r
122 - name: OS_AUTH_URL
\r
123 - name: OS_PASSWORD
\r
124 - name: OS_USERNAME
\r
125 - name: PYTHONDONTWRITEBYTECODE
\r
127 - name: PYTHONUNBUFFERED
\r
131 command: ["/bin/bash", "/opt/o2api_start.sh"]
\r
138 name: {{ .Chart.Name }}-scripts-configmap
\r