6093fa72fab57777c3593b72af5886ec2eb5621a
[oom.git] / kubernetes / cps / values.yaml
1 # Copyright (C) 2021 Bell Canada
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #       http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 #################################################################
16 # Global configuration defaults.
17 #################################################################
18 secrets:
19   - uid: core-app-user-creds
20     name: &core-creds-secret '{{ include "common.release" . }}-cps-core-app-user-creds'
21     type: basicAuth
22     externalSecret: '{{ tpl (default "" .Values.config.coreUserExternalSecret) . }}'
23     login: '{{ .Values.config.coreUserName }}'
24     password: '{{ .Values.config.coreUserPassword }}'
25     passwordPolicy: generate
26   - uid: dmi-plugin-user-creds
27     name: &dmi-plugin-creds-secret '{{ include "common.release" . }}-cps-dmi-plugin-user-creds'
28     type: basicAuth
29     externalSecret: '{{ tpl (default "" .Values.config.dmiPluginUserExternalSecret) . }}'
30     login: '{{ .Values.config.dmiPluginUserName }}'
31     password: '{{ .Values.config.dmiPluginUserPassword }}'
32     passwordPolicy: generate
33
34 passwordStrengthOverride: basic
35 global:
36   ingress:
37     virtualhost:
38       baseurl: "simpledemo.onap.org"
39
40 config:
41   coreUserName: cpsuser
42   dmiPluginUserName: dmiuser
43
44 # Enable all CPS components by default
45 cps-core:
46   enabled: true
47   config:
48     appUserExternalSecret: *core-creds-secret
49     dmiPluginUserExternalSecret: *dmi-plugin-creds-secret
50
51 cps-temporal:
52   enabled: true
53
54 ncmp-dmi-plugin:
55   enabled: true
56   config:
57     appUserExternalSecret: *dmi-plugin-creds-secret
58     cpsCore:
59       credsExternalSecret: *core-creds-secret