Merge "[AAI] Add model-loader tracing config"
[oom.git] / kubernetes / cps / values.yaml
1 # Copyright (C) 2021 Bell Canada
2 # Modifications Copyright © 2022-2023 Nordix Foundation
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
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 #################################################################
17 # Global configuration defaults.
18 #################################################################
19 secrets:
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
27   - 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
34
35 passwordStrengthOverride: basic
36
37 standaloneDeployment: false
38
39 global:
40   ingress:
41     virtualhost:
42       baseurl: "simpledemo.onap.org"
43
44   kafkaBootstrap: strimzi-kafka-bootstrap
45   cpsKafkaUser: cps-kafka-user
46
47 config:
48   coreUserName: cpsuser
49   dmiPluginUserName: dmiuser
50   useStrimziKafka: true
51   ncmpEventsTopic:
52     name: ncmp-events
53     retentionMs: 7200000
54     consumer:
55       groupId: ncmp-group
56   ncmpAsyncM2MTopic:
57     name: ncmp-async-m2m
58     retentionMs: 600000
59     consumer:
60       groupId: ncmp-group
61   dmiCmEventsTopic:
62     name: dmi-cm-events
63     retentionMs: 7200000
64     consumer:
65       groupId: ncmp-group
66   ncmpCmAvcSubscriptionTopic:
67     name: cm-avc-subscription
68     retentionMs: 7200000
69     consumer:
70       groupId: ncmp-group
71   ncmpCmEventsTopic:
72     name: cm-events
73     retentionMs: 7200000
74     consumer:
75       groupId: ncmp-group
76   dmiCmAvcSubscriptionTopic:
77     name: ncmp-dmi-cm-avc-subscription-ncmp-dmi-plugin
78     retentionMs: 7200000
79     consumer:
80       groupId: ncmp-group
81   dmiCmAvcSubscriptionResponseTopic:
82     name: dmi-ncmp-cm-avc-subscription
83     retentionMs: 7200000
84     consumer:
85       groupId: ncmp-group
86
87 # Enable all CPS components by default
88 cps-core:
89   enabled: true
90   config:
91     appUserExternalSecret: *core-creds-secret
92     dmiPluginUserExternalSecret: *dmi-plugin-creds-secret
93     jaasConfExternalSecret: '{{ include "common.release" . }}-{{ .Values.global.cpsKafkaUser }}'
94
95 cps-temporal:
96   enabled: true
97   config:
98     jaasConfExternalSecret: '{{ include "common.release" . }}-{{ .Values.global.cpsKafkaUser }}'
99
100 ncmp-dmi-plugin:
101   enabled: true
102   config:
103     appUserExternalSecret: *dmi-plugin-creds-secret
104     cpsCore:
105       credsExternalSecret: *core-creds-secret