blob: 0c5397c5a85e5a091a5acc7de52ae01690e64fb9 [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:
30 - uid: oof-onap-certs
31 name: &oof-certs '{{ include "common.release" . }}-oof-onap-certs'
32 externalSecret: '{{ tpl (default "" .Values.certSecret) . }}'
33 type: generic
34 filePaths: '{{ .Values.secretsFilePaths }}'
krishnaa9620552e72021-05-18 18:52:56 +053035 - uid: oof-has-etcd-root-password
36 name: &root-password '{{ include "common.release" . }}-has-etcd-root-password'
37 type: password
38 password: '{{ .Values.config.etcd.rootPassword }}'
39 policy: generate
40 - uid: oof-has-etcd-secret
41 name: &user-creds '{{ include "common.release" . }}-oof-has-etcd-secret'
42 type: basicAuth
43 externalSecret: '{{ tpl (default "" .Values.config.etcd.userCredentialsExternalSecret) . }}'
44 login: '{{ .Values.config.etcd.appUser }}'
45 password: '{{ .Values.config.etcd.appPassword }}'
46 passwordPolicy: generate
krishnaa9624a7ef32020-10-09 12:01:05 +053047
Ikram Ikramullah40b120b2018-05-01 11:35:40 -040048pullPolicy: Always
49nodePortPrefix: 302
50dataRootDir: /dockerdata-nfs
Ritu Sood3a63d432018-05-24 08:23:14 -070051config:
krishnaa9620552e72021-05-18 18:52:56 +053052 dbBackend: etcd
Dileep Ranganathan61225cb2018-10-01 08:14:16 -070053 aaf:
54 serviceName: aaf-service
55 port: 8100
Ritu Sood3a63d432018-05-24 08:23:14 -070056 aai:
57 serviceName: aai
58 port: 8443
amatthews379daac2022-08-18 15:31:12 +010059 plainPort: 80
Ritu Sood3a63d432018-05-24 08:23:14 -070060 msb:
61 serviceName: msb-iag
62 port: 80
Dileep Ranganathan61225cb2018-10-01 08:14:16 -070063 music:
Tschaen, Brendan08d7b632020-04-02 19:49:13 +000064 serviceName: music
65 port: 8443
Dileep Ranganathan61225cb2018-10-01 08:14:16 -070066 sms:
67 serviceName: aaf-sms
68 port: 10443
krishnaa963865d692021-02-22 20:53:44 +053069 sdc:
70 serviceName: sdc-be
71 port: 8443
amatthews379daac2022-08-18 15:31:12 +010072 plainPort: 8080
krishnaa963865d692021-02-22 20:53:44 +053073 cps:
74 service: cps-tbdmt
75 port: 8080
Krishna56df3132022-03-31 15:40:34 +053076 dcae:
77 service: dcae-slice-analysis-ms
78 port: 8080
krishnaa9620552e72021-05-18 18:52:56 +053079 etcd:
80 serviceName: &etcd-service oof-has-etcd
81 port: 2379
82 appUser: conductor
83# rootPassword:
84# appPassword:
85# userCredentialsExternalSecret:
Dileep Ranganathan61225cb2018-10-01 08:14:16 -070086# Resource Limit flavor -By Default using small
87flavor: small
88# Segregation for Different environment (Small and Large)
89resources:
90 small:
91 limits:
92 memory: 2Gi
93 cpu: 1000m
94 requests:
95 memory: 1Gi
96 cpu: 500m
97 large:
98 limits:
99 memory: 4Gi
100 cpu: 2000m
101 requests:
102 memory: 2Gi
103 cpu: 1000m
104 unlimited: {}
krishnaa96dbcd1ca2020-08-11 10:26:50 +0530105
106#component overrides
krishnaa9620552e72021-05-18 18:52:56 +0530107oof-has-api: &has-config
krishnaa96dbcd1ca2020-08-11 10:26:50 +0530108 enabled: true
krishnaa9624a7ef32020-10-09 12:01:05 +0530109 certSecret: *oof-certs
krishnaa9620552e72021-05-18 18:52:56 +0530110 config:
111 etcd:
112 userCredentialsExternalSecret: *user-creds
113 configJobNameOverride: &job-name oof-has-etcd-config
114oof-has-controller: *has-config
115oof-has-data: *has-config
116oof-has-reservation: *has-config
117oof-has-solver: *has-config
118music:
119 enabled: false
krishnaa96dbcd1ca2020-08-11 10:26:50 +0530120
krishnaa9620552e72021-05-18 18:52:56 +0530121#etcd subchart configurations
122etcd:
123 enabled: true
124 replicaCount: 3
125 nameOverride: &etcd-container oof-has-etcd
126 service:
127 name: *etcd-service
128 persistence:
129 mountSubPath: oof/etcd/data
130 enabled: true
131 flavor: &etcd-flavor large
132 resources: &etcd-resources
133 small:
134 limits:
135 cpu: 100m
136 memory: 300Mi
137 requests:
138 cpu: 10m
139 memory: 75Mi
140 large:
141 limits:
142 cpu: 200m
143 memory: 1Gi
144 requests:
145 cpu: 50m
146 memory: 300Mi
147 unlimited: {}
148
149etcd-init:
150 enabled: true
151 nameOverride: *job-name
152 etcd:
153 serviceName: *etcd-service
154 port : 2379
155 containerName: *etcd-container
156 config:
157 userRootSecret: *root-password
158 userCredentialsExternalSecret: *user-creds
159 appRole: conductor
160 keyPrefix: conductor
161 flavor: *etcd-flavor
162 resources: *etcd-resources
Michal Jagiello259e8762022-03-11 15:15:36 +0000163
164# Python doesn't support well dollar sign in password
malar8c4999a2022-09-22 11:41:32 +0000165passwordStrengthOverride: basic