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
54 image: "{{ .Values.o2ims.image.repository }}:{{ .Values.o2ims.image.tag }}"
\r
65 value: /root/o2/o2app/entrypoints/flask_application.py
\r
67 value: {{ .Values.o2ims.logginglevel }}
\r
68 - name: LOGGING_CONFIG_LEVEL
\r
69 value: {{ .Values.o2ims.logginglevel }}
\r
73 - name: PYTHONDONTWRITEBYTECODE
\r
75 - name: PYTHONUNBUFFERED
\r
79 command: ["/bin/bash", "/opt/o2api_start.sh"]
\r
86 - containerPort: 6379
\r
88 image: "{{ .Values.o2ims.image.repository }}:{{ .Values.o2ims.image.tag }}"
\r
89 command: ["/bin/bash", "/opt/o2watcher_start.sh"]
\r
95 - name: LOGGING_CONFIG_LEVEL
\r
96 value: {{ .Values.o2ims.logginglevel }}
\r
98 value: {{ .Values.ocloud.OS_AUTH_URL }}
\r
100 value: {{ .Values.ocloud.OS_PASSWORD }}
\r
101 - name: OS_USERNAME
\r
102 value: {{ .Values.ocloud.OS_USERNAME }}
\r
103 - name: PYTHONDONTWRITEBYTECODE
\r
111 image: "{{ .Values.o2ims.image.repository }}:{{ .Values.o2ims.image.tag }}"
\r
112 command: ["/bin/bash", "/opt/o2pubsub_start.sh"]
\r
116 - name: DB_PASSWORD
\r
118 - name: LOGGING_CONFIG_LEVEL
\r
119 value: {{ .Values.o2ims.logginglevel }}
\r
120 - name: OS_AUTH_URL
\r
121 value: {{ .Values.ocloud.OS_AUTH_URL }}
\r
122 - name: OS_PASSWORD
\r
123 value: {{ .Values.ocloud.OS_PASSWORD }}
\r
124 - name: OS_USERNAME
\r
125 value: {{ .Values.ocloud.OS_USERNAME }}
\r
126 - name: PYTHONDONTWRITEBYTECODE
\r
136 name: {{ .Chart.Name }}-scripts-configmap
\r