blob: 9a8b60574e332ad29c2e4765bcbc2fa5035c970e [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:
krishnaa9620552e72021-05-18 18:52:56 +053022 optf_has: onap/optf-has:2.2.0
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
59 msb:
60 serviceName: msb-iag
61 port: 80
Dileep Ranganathan61225cb2018-10-01 08:14:16 -070062 music:
Tschaen, Brendan08d7b632020-04-02 19:49:13 +000063 serviceName: music
64 port: 8443
Dileep Ranganathan61225cb2018-10-01 08:14:16 -070065 sms:
66 serviceName: aaf-sms
67 port: 10443
krishnaa963865d692021-02-22 20:53:44 +053068 sdc:
69 serviceName: sdc-be
70 port: 8443
71 cps:
72 service: cps-tbdmt
73 port: 8080
krishnaa9620552e72021-05-18 18:52:56 +053074 etcd:
75 serviceName: &etcd-service oof-has-etcd
76 port: 2379
77 appUser: conductor
78# rootPassword:
79# appPassword:
80# userCredentialsExternalSecret:
Dileep Ranganathan61225cb2018-10-01 08:14:16 -070081# Resource Limit flavor -By Default using small
82flavor: small
83# Segregation for Different environment (Small and Large)
84resources:
85 small:
86 limits:
87 memory: 2Gi
88 cpu: 1000m
89 requests:
90 memory: 1Gi
91 cpu: 500m
92 large:
93 limits:
94 memory: 4Gi
95 cpu: 2000m
96 requests:
97 memory: 2Gi
98 cpu: 1000m
99 unlimited: {}
krishnaa96dbcd1ca2020-08-11 10:26:50 +0530100
101#component overrides
krishnaa9620552e72021-05-18 18:52:56 +0530102oof-has-api: &has-config
krishnaa96dbcd1ca2020-08-11 10:26:50 +0530103 enabled: true
krishnaa9624a7ef32020-10-09 12:01:05 +0530104 certSecret: *oof-certs
krishnaa9620552e72021-05-18 18:52:56 +0530105 config:
106 etcd:
107 userCredentialsExternalSecret: *user-creds
108 configJobNameOverride: &job-name oof-has-etcd-config
109oof-has-controller: *has-config
110oof-has-data: *has-config
111oof-has-reservation: *has-config
112oof-has-solver: *has-config
113music:
114 enabled: false
krishnaa96dbcd1ca2020-08-11 10:26:50 +0530115
krishnaa9620552e72021-05-18 18:52:56 +0530116#etcd subchart configurations
117etcd:
118 enabled: true
119 replicaCount: 3
120 nameOverride: &etcd-container oof-has-etcd
121 service:
122 name: *etcd-service
123 persistence:
124 mountSubPath: oof/etcd/data
125 enabled: true
126 flavor: &etcd-flavor large
127 resources: &etcd-resources
128 small:
129 limits:
130 cpu: 100m
131 memory: 300Mi
132 requests:
133 cpu: 10m
134 memory: 75Mi
135 large:
136 limits:
137 cpu: 200m
138 memory: 1Gi
139 requests:
140 cpu: 50m
141 memory: 300Mi
142 unlimited: {}
143
144etcd-init:
145 enabled: true
146 nameOverride: *job-name
147 etcd:
148 serviceName: *etcd-service
149 port : 2379
150 containerName: *etcd-container
151 config:
152 userRootSecret: *root-password
153 userCredentialsExternalSecret: *user-creds
154 appRole: conductor
155 keyPrefix: conductor
156 flavor: *etcd-flavor
157 resources: *etcd-resources