1 # ============LICENSE_START=======================================================
2 # Copyright (c) 2021 Bell Canada.
3 # Modifications Copyright © 2022 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 externalSecret: '{{ tpl (default "" .Values.config.jaasConfExternalSecret) . }}'
47 - name: sasl.jaas.config
48 value: '{{ .Values.config.someConfig }}'
51 image: onap/cps-temporal:1.1.0
52 containerPort: &svc_port 8080
53 managementPort: &mgt_port 8081
65 - name: http-management
72 ## specify target port if name is not given to the port in the service definition
75 path: /manage/prometheus
80 pullPolicy: IfNotPresent
81 # flag to enable debugging - application support required
85 # Resource Limit flavor -By Default using small
87 # default number of instances
89 # Segregation for Different environment (Small and Large)
106 # probe configuration parameters
108 initialDelaySeconds: 20
110 # necessary to disable liveness probe when setting breakpoints
111 # in debugger so K8s doesn't restart unresponsive container
117 initialDelaySeconds: 15
125 - baseaddr: "cps-temporal"
131 nameOverride: cps-temporal
139 #################################################################
140 # Application configuration defaults.
141 #################################################################
144 # REST API basic authentication credentials (passsword is generated if not provided)
145 appUserName: cpstemporal
150 # Event consumption (kafka) properties
151 useStrimziKafka: true
152 kafkaBootstrap: strimzi-kafka-bootstrap
155 groupId: cps-temporal-group
158 dataUpdatedTopic: cps.data-updated-events
159 # If targeting a custom kafka cluster, ie useStrimziKakfa: false
160 # uncomment below config and target your kafka bootstrap servers,
161 # along with any other security config.
164 # spring.kafka.bootstrap-servers: <kafka-bootstrap>:9092
165 # spring.kafka.security.protocol: PLAINTEXT
166 # spring.kafka.consumer.group-id: cps-temporal-group
168 # Any new property can be added in the env by setting in overrides in the format mentioned below
169 # All the added properties must be in "key: value" format instead of yaml.
171 # spring.config.max-size: 200
172 # spring.config.min-size: 10
179 nameOverride: cps-temporal-db
181 name: cps-temporal-db
184 name: cps-temporal-db
186 mountSubPath: cps-temporal/data
187 mountInitPath: cps-temporal
189 pgUserName: cpstemporaldb
190 pgDatabase: cpstemporaldb
191 pgUserExternalSecret: *pgUserCredsSecretName
193 nameOverride: cps-temporal-db