blob: 219e236fbfd4a238363ce53420754fbd4b43c2f8 [file] [log] [blame]
Ikram Ikramullah40b120b2018-05-01 11:35:40 -04001# Copyright © 2017 Amdocs, AT&T, Bell Canada, VMware
Dileep Ranganathan61225cb2018-10-01 08:14:16 -07002# Modifications Copyright © 2018 Intel Corporation
Ikram Ikramullah40b120b2018-05-01 11:35:40 -04003#
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#################################################################
19global:
Ikram Ikramullah40b120b2018-05-01 11:35:40 -040020 commonConfigPrefix: onap-oof-has
21 image:
malar8c4999a2022-09-22 11:41:32 +000022 optf_has: onap/optf-has:2.3.1
krishnaa96dbcd1ca2020-08-11 10:26:50 +053023 persistence:
24 enabled: true
Ikram Ikramullah40b120b2018-05-01 11:35:40 -040025
krishnaa9624a7ef32020-10-09 12:01:05 +053026#################################################################
27# Secrets metaconfig
28#################################################################
29secrets:
krishnaa9620552e72021-05-18 18:52:56 +053030 - uid: oof-has-etcd-root-password
31 name: &root-password '{{ include "common.release" . }}-has-etcd-root-password'
32 type: password
33 password: '{{ .Values.config.etcd.rootPassword }}'
34 policy: generate
35 - uid: oof-has-etcd-secret
36 name: &user-creds '{{ include "common.release" . }}-oof-has-etcd-secret'
37 type: basicAuth
38 externalSecret: '{{ tpl (default "" .Values.config.etcd.userCredentialsExternalSecret) . }}'
39 login: '{{ .Values.config.etcd.appUser }}'
40 password: '{{ .Values.config.etcd.appPassword }}'
41 passwordPolicy: generate
krishnaa9624a7ef32020-10-09 12:01:05 +053042
Ikram Ikramullah40b120b2018-05-01 11:35:40 -040043pullPolicy: Always
44nodePortPrefix: 302
45dataRootDir: /dockerdata-nfs
Ritu Sood3a63d432018-05-24 08:23:14 -070046config:
krishnaa9620552e72021-05-18 18:52:56 +053047 dbBackend: etcd
Ritu Sood3a63d432018-05-24 08:23:14 -070048 aai:
49 serviceName: aai
Andreas Geissler0fcefb62023-02-20 12:00:42 +010050 port: 80
Ritu Sood3a63d432018-05-24 08:23:14 -070051 msb:
52 serviceName: msb-iag
53 port: 80
krishnaa963865d692021-02-22 20:53:44 +053054 sdc:
55 serviceName: sdc-be
Andreas Geissler0fcefb62023-02-20 12:00:42 +010056 port: 8080
krishnaa963865d692021-02-22 20:53:44 +053057 cps:
Andreas Geissler0fcefb62023-02-20 12:00:42 +010058 serviceName: cps-tbdmt
krishnaa963865d692021-02-22 20:53:44 +053059 port: 8080
Krishna56df3132022-03-31 15:40:34 +053060 dcae:
Andreas Geissler0fcefb62023-02-20 12:00:42 +010061 serviceName: dcae-slice-analysis-ms
Krishna56df3132022-03-31 15:40:34 +053062 port: 8080
krishnaa9620552e72021-05-18 18:52:56 +053063 etcd:
64 serviceName: &etcd-service oof-has-etcd
65 port: 2379
66 appUser: conductor
67# rootPassword:
68# appPassword:
69# userCredentialsExternalSecret:
Dileep Ranganathan61225cb2018-10-01 08:14:16 -070070# Resource Limit flavor -By Default using small
71flavor: small
72# Segregation for Different environment (Small and Large)
73resources:
74 small:
75 limits:
76 memory: 2Gi
77 cpu: 1000m
78 requests:
79 memory: 1Gi
80 cpu: 500m
81 large:
82 limits:
83 memory: 4Gi
84 cpu: 2000m
85 requests:
86 memory: 2Gi
87 cpu: 1000m
88 unlimited: {}
krishnaa96dbcd1ca2020-08-11 10:26:50 +053089
90#component overrides
krishnaa9620552e72021-05-18 18:52:56 +053091oof-has-api: &has-config
krishnaa96dbcd1ca2020-08-11 10:26:50 +053092 enabled: true
krishnaa9620552e72021-05-18 18:52:56 +053093 config:
94 etcd:
95 userCredentialsExternalSecret: *user-creds
96 configJobNameOverride: &job-name oof-has-etcd-config
97oof-has-controller: *has-config
98oof-has-data: *has-config
99oof-has-reservation: *has-config
100oof-has-solver: *has-config
krishnaa96dbcd1ca2020-08-11 10:26:50 +0530101
krishnaa9620552e72021-05-18 18:52:56 +0530102#etcd subchart configurations
103etcd:
104 enabled: true
105 replicaCount: 3
106 nameOverride: &etcd-container oof-has-etcd
107 service:
108 name: *etcd-service
109 persistence:
110 mountSubPath: oof/etcd/data
111 enabled: true
112 flavor: &etcd-flavor large
113 resources: &etcd-resources
114 small:
115 limits:
116 cpu: 100m
117 memory: 300Mi
118 requests:
119 cpu: 10m
120 memory: 75Mi
121 large:
122 limits:
123 cpu: 200m
124 memory: 1Gi
125 requests:
126 cpu: 50m
127 memory: 300Mi
128 unlimited: {}
129
130etcd-init:
131 enabled: true
132 nameOverride: *job-name
133 etcd:
134 serviceName: *etcd-service
135 port : 2379
136 containerName: *etcd-container
137 config:
138 userRootSecret: *root-password
139 userCredentialsExternalSecret: *user-creds
140 appRole: conductor
141 keyPrefix: conductor
142 flavor: *etcd-flavor
143 resources: *etcd-resources
Michal Jagiello259e8762022-03-11 15:15:36 +0000144
145# Python doesn't support well dollar sign in password
malar8c4999a2022-09-22 11:41:32 +0000146passwordStrengthOverride: basic