1 # ============LICENSE_START=======================================================
2 # Copyright (c) 2021 Bell Canada.
3 # Modifications Copyright © 2022-2023 Nordix Foundation
4 # ================================================================================
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
9 # http://www.apache.org/licenses/LICENSE-2.0
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
17 # SPDX-License-Identifier: Apache-2.0
18 # ============LICENSE_END=========================================================
20 #################################################################
21 # Global configuration defaults.
22 #################################################################
23 passwordStrengthOverride: basic
27 baseurl: "simpledemo.temporal.onap.org"
31 name: &pgUserCredsSecretName '{{ include "common.release" . }}-cps-temporal-pg-user-creds'
33 externalSecret: '{{ ternary "" (tpl (default "" .Values.timescaledb.config.pgUserExternalSecret) .) (hasSuffix "cps-temporal-pg-user-creds" .Values.timescaledb.config.pgUserExternalSecret) }}'
34 login: '{{ .Values.timescaledb.config.pgUserName }}'
35 password: '{{ .Values.timescaledb.config.pgUserPassword }}'
36 passwordPolicy: generate
39 externalSecret: '{{ tpl (default "" .Values.config.appUserExternalSecret) . }}'
40 login: '{{ .Values.config.appUserName }}'
41 password: '{{ .Values.config.appUserPassword }}'
42 passwordPolicy: generate
44 image: onap/cps-temporal:1.2.1
45 containerPort: &svc_port 8080
46 managementPort: &mgt_port 8081
58 - name: http-management
65 ## specify target port if name is not given to the port in the service definition
68 path: /manage/prometheus
73 pullPolicy: IfNotPresent
74 # flag to enable debugging - application support required
78 # Resource Limit flavor -By Default using small
80 # default number of instances
82 # Segregation for Different environment (Small and Large)
99 # probe configuration parameters
101 initialDelaySeconds: 20
103 # necessary to disable liveness probe when setting breakpoints
104 # in debugger so K8s doesn't restart unresponsive container
110 initialDelaySeconds: 15
118 - baseaddr: "cps-temporal-api"
124 nameOverride: cps-temporal
132 #################################################################
133 # Application configuration defaults.
134 #################################################################
137 # REST API basic authentication credentials (passsword is generated if not provided)
138 appUserName: cpstemporal
144 dataUpdatedTopic: &dataUpdatedTopic cps.data-updated-events
146 # Any new property can be added in the env by setting in overrides in the format mentioned below
147 # All the added properties must be in "key: value" format instead of yaml.
149 # spring.config.max-size: 200
150 # spring.config.min-size: 10
152 # Strimzi Kafka config
154 authenticationType: scram-sha-512
156 - name: cps-temporal-group
159 - name: *dataUpdatedTopic
168 nameOverride: cps-temporal-db
170 name: cps-temporal-db
173 name: cps-temporal-db
175 mountSubPath: cps-temporal/data
176 mountInitPath: cps-temporal
178 pgUserName: cpstemporaldb
179 pgDatabase: cpstemporaldb
180 pgUserExternalSecret: *pgUserCredsSecretName
182 nameOverride: cps-temporal-db