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:1.1.0
44 containerPort: &svc_port 8080
45 managementPort: &mgt_port 8081
57 - name: http-management
64 ## specify target port if name is not given to the port in the service definition
67 path: /manage/prometheus
72 pullPolicy: IfNotPresent
73 # flag to enable debugging - application support required
77 # Resource Limit flavor -By Default using small
79 # default number of instances
81 # Segregation for Different environment (Small and Large)
98 # probe configuration parameters
100 initialDelaySeconds: 20
102 # necessary to disable liveness probe when setting breakpoints
103 # in debugger so K8s doesn't restart unresponsive container
109 initialDelaySeconds: 15
117 - baseaddr: "cps-temporal"
123 nameOverride: cps-temporal
131 #################################################################
132 # Application configuration defaults.
133 #################################################################
136 # REST API basic authentication credentials (passsword is generated if not provided)
137 appUserName: cpstemporal
142 # Event consumption (kafka) properties
143 # All Kafka properties must be in "key: value" format instead of yaml.
145 spring.kafka.bootstrap-servers: message-router-kafka:9092
146 spring.kafka.security.protocol: PLAINTEXT
147 spring.kafka.consumer.group-id: cps-temporal-group
148 app.listener.data-updated.topic: cps.data-updated-events
150 # Any new property can be added in the env by setting in overrides in the format mentioned below
151 # All the added properties must be in "key: value" format instead of yaml.
153 # spring.config.max-size: 200
154 # spring.config.min-size: 10
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