1 # ============LICENSE_START=======================================================
2 # Copyright (c) 2021 Bell Canada.
3 # ================================================================================
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
16 # SPDX-License-Identifier: Apache-2.0
17 # ============LICENSE_END=========================================================
19 #################################################################
20 # Global configuration defaults.
21 #################################################################
22 passwordStrengthOverride: basic
26 baseurl: "simpledemo.temporal.onap.org"
30 name: &pgUserCredsSecretName '{{ include "common.release" . }}-cps-temporal-pg-user-creds'
32 externalSecret: '{{ ternary "" (tpl (default "" .Values.timescaledb.config.pgUserExternalSecret) .) (hasSuffix "cps-temporal-pg-user-creds" .Values.timescaledb.config.pgUserExternalSecret) }}'
33 login: '{{ .Values.timescaledb.config.pgUserName }}'
34 password: '{{ .Values.timescaledb.config.pgUserPassword }}'
35 passwordPolicy: generate
38 externalSecret: '{{ tpl (default "" .Values.config.appUserExternalSecret) . }}'
39 login: '{{ .Values.config.appUserName }}'
40 password: '{{ .Values.config.appUserPassword }}'
41 passwordPolicy: generate
43 image: onap/cps-temporal:0.0.1
44 containerPort: &svc_port 8080
45 managementPort: &mgt_port 8081
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"
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
143 # Any new property can be added in the env by setting in overrides in the format mentioned below
144 # All the added properties must be in "key: value" format instead of yaml.
146 # spring.config.max-size: 200
147 # spring.config.min-size: 10
150 service: message-router-kafka
152 listenerTopic: cps.cfg-state-events
153 consumerGroupId: cps-temporal-group
161 nameOverride: cps-temporal-db
163 name: cps-temporal-db
166 name: cps-temporal-db
168 mountSubPath: cps-temporal/data
169 mountInitPath: cps-temporal
171 pgUserName: cpstemporaldb
172 pgDatabase: cpstemporaldb
173 pgUserExternalSecret: *pgUserCredsSecretName
175 nameOverride: cps-temporal-db