blob: f3e6198ac108002ba37d5226bcfe524445d2c6b0 [file] [log] [blame]
puthuparambil.adityab35e2de2021-07-23 13:57:22 +01001# Copyright (C) 2021 Bell Canada
efiacor23361a32022-03-14 13:44:02 +00002# Modifications Copyright © 2022 Nordix Foundation
puthuparambil.aditya7625e522021-01-22 22:01:50 +01003#
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
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
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.
15
16#################################################################
puthuparambil.aditya7625e522021-01-22 22:01:50 +010017# Global configuration defaults.
18#################################################################
shivasubedic615a892021-08-24 13:17:07 +010019secrets:
20 - uid: core-app-user-creds
21 name: &core-creds-secret '{{ include "common.release" . }}-cps-core-app-user-creds'
22 type: basicAuth
23 externalSecret: '{{ tpl (default "" .Values.config.coreUserExternalSecret) . }}'
24 login: '{{ .Values.config.coreUserName }}'
25 password: '{{ .Values.config.coreUserPassword }}'
26 passwordPolicy: generate
puthuparambil.adityaf5ba7e32021-09-14 10:29:32 +010027 - uid: dmi-plugin-user-creds
28 name: &dmi-plugin-creds-secret '{{ include "common.release" . }}-cps-dmi-plugin-user-creds'
29 type: basicAuth
30 externalSecret: '{{ tpl (default "" .Values.config.dmiPluginUserExternalSecret) . }}'
31 login: '{{ .Values.config.dmiPluginUserName }}'
32 password: '{{ .Values.config.dmiPluginUserPassword }}'
33 passwordPolicy: generate
shivasubedic615a892021-08-24 13:17:07 +010034
puthuparambil.aditya7625e522021-01-22 22:01:50 +010035passwordStrengthOverride: basic
Bruno Sakoto5470cda2022-03-14 22:50:52 -040036
37standaloneDeployment: false
38
puthuparambil.aditya7625e522021-01-22 22:01:50 +010039global:
40 ingress:
41 virtualhost:
42 baseurl: "simpledemo.onap.org"
43
efiacor23361a32022-03-14 13:44:02 +000044 kafkaBootstrap: strimzi-kafka-bootstrap
45 cpsKafkaUser: cps-kafka-user
46
shivasubedic615a892021-08-24 13:17:07 +010047config:
48 coreUserName: cpsuser
puthuparambil.adityaf5ba7e32021-09-14 10:29:32 +010049 dmiPluginUserName: dmiuser
efiacor23361a32022-03-14 13:44:02 +000050 useStrimziKafka: true
51 dataUpdatedTopic:
52 name: cps.data-updated-events
53 partitions: 10
54 retentionMs: 7200000
55 segmentBytes: 1073741824
56 consumer:
57 groupId: cps-temporal-group
mpriyank9a51e072022-09-22 10:25:37 +010058 ncmpEventsTopic:
59 name: ncmp-events
60 retentionMs: 7200000
61 consumer:
62 groupId: ncmp-group
63 ncmpAsyncM2MTopic:
64 name: ncmp-async-m2m
65 retentionMs: 600000
66 consumer:
67 groupId: ncmp-group
puthuparambil.aditya7625e522021-01-22 22:01:50 +010068
puthuparambil.adityab35e2de2021-07-23 13:57:22 +010069# Enable all CPS components by default
70cps-core:
puthuparambil.aditya7625e522021-01-22 22:01:50 +010071 enabled: true
shivasubedic615a892021-08-24 13:17:07 +010072 config:
73 appUserExternalSecret: *core-creds-secret
puthuparambil.adityaf5ba7e32021-09-14 10:29:32 +010074 dmiPluginUserExternalSecret: *dmi-plugin-creds-secret
efiacor23361a32022-03-14 13:44:02 +000075 jaasConfExternalSecret: '{{ include "common.release" . }}-{{ .Values.global.cpsKafkaUser }}'
shivasubedic615a892021-08-24 13:17:07 +010076
puthuparambil.adityaf71e3652021-08-18 13:57:24 +010077cps-temporal:
78 enabled: true
efiacor23361a32022-03-14 13:44:02 +000079 config:
80 jaasConfExternalSecret: '{{ include "common.release" . }}-{{ .Values.global.cpsKafkaUser }}'
puthuparambil.adityaf71e3652021-08-18 13:57:24 +010081
shivasubedic615a892021-08-24 13:17:07 +010082ncmp-dmi-plugin:
83 enabled: true
84 config:
puthuparambil.adityaf5ba7e32021-09-14 10:29:32 +010085 appUserExternalSecret: *dmi-plugin-creds-secret
Renu Kumaribcacd772021-09-16 15:36:23 -040086 cpsCore:
87 credsExternalSecret: *core-creds-secret