Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, AT&T, Bell Canada, VMware |
Dileep Ranganathan | 61225cb | 2018-10-01 08:14:16 -0700 | [diff] [blame] | 2 | # Modifications Copyright © 2018 Intel Corporation |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 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 | global: |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 20 | commonConfigPrefix: onap-oof-has |
| 21 | image: |
malar | 8c4999a | 2022-09-22 11:41:32 +0000 | [diff] [blame] | 22 | optf_has: onap/optf-has:2.3.1 |
krishnaa96 | dbcd1ca | 2020-08-11 10:26:50 +0530 | [diff] [blame] | 23 | persistence: |
| 24 | enabled: true |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 25 | |
krishnaa96 | 24a7ef3 | 2020-10-09 12:01:05 +0530 | [diff] [blame] | 26 | ################################################################# |
| 27 | # Secrets metaconfig |
| 28 | ################################################################# |
| 29 | secrets: |
krishnaa96 | 20552e7 | 2021-05-18 18:52:56 +0530 | [diff] [blame] | 30 | - 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 |
krishnaa96 | 24a7ef3 | 2020-10-09 12:01:05 +0530 | [diff] [blame] | 42 | |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 43 | pullPolicy: Always |
| 44 | nodePortPrefix: 302 |
| 45 | dataRootDir: /dockerdata-nfs |
Ritu Sood | 3a63d43 | 2018-05-24 08:23:14 -0700 | [diff] [blame] | 46 | config: |
krishnaa96 | 20552e7 | 2021-05-18 18:52:56 +0530 | [diff] [blame] | 47 | dbBackend: etcd |
Ritu Sood | 3a63d43 | 2018-05-24 08:23:14 -0700 | [diff] [blame] | 48 | aai: |
| 49 | serviceName: aai |
Andreas Geissler | 0fcefb6 | 2023-02-20 12:00:42 +0100 | [diff] [blame] | 50 | port: 80 |
Ritu Sood | 3a63d43 | 2018-05-24 08:23:14 -0700 | [diff] [blame] | 51 | msb: |
| 52 | serviceName: msb-iag |
| 53 | port: 80 |
krishnaa96 | 3865d69 | 2021-02-22 20:53:44 +0530 | [diff] [blame] | 54 | sdc: |
| 55 | serviceName: sdc-be |
Andreas Geissler | 0fcefb6 | 2023-02-20 12:00:42 +0100 | [diff] [blame] | 56 | port: 8080 |
krishnaa96 | 3865d69 | 2021-02-22 20:53:44 +0530 | [diff] [blame] | 57 | cps: |
Andreas Geissler | 0fcefb6 | 2023-02-20 12:00:42 +0100 | [diff] [blame] | 58 | serviceName: cps-tbdmt |
krishnaa96 | 3865d69 | 2021-02-22 20:53:44 +0530 | [diff] [blame] | 59 | port: 8080 |
Krishna | 56df313 | 2022-03-31 15:40:34 +0530 | [diff] [blame] | 60 | dcae: |
Andreas Geissler | 0fcefb6 | 2023-02-20 12:00:42 +0100 | [diff] [blame] | 61 | serviceName: dcae-slice-analysis-ms |
Krishna | 56df313 | 2022-03-31 15:40:34 +0530 | [diff] [blame] | 62 | port: 8080 |
krishnaa96 | 20552e7 | 2021-05-18 18:52:56 +0530 | [diff] [blame] | 63 | etcd: |
| 64 | serviceName: &etcd-service oof-has-etcd |
| 65 | port: 2379 |
| 66 | appUser: conductor |
| 67 | # rootPassword: |
| 68 | # appPassword: |
| 69 | # userCredentialsExternalSecret: |
Dileep Ranganathan | 61225cb | 2018-10-01 08:14:16 -0700 | [diff] [blame] | 70 | # Resource Limit flavor -By Default using small |
| 71 | flavor: small |
| 72 | # Segregation for Different environment (Small and Large) |
| 73 | resources: |
| 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: {} |
krishnaa96 | dbcd1ca | 2020-08-11 10:26:50 +0530 | [diff] [blame] | 89 | |
| 90 | #component overrides |
krishnaa96 | 20552e7 | 2021-05-18 18:52:56 +0530 | [diff] [blame] | 91 | oof-has-api: &has-config |
krishnaa96 | dbcd1ca | 2020-08-11 10:26:50 +0530 | [diff] [blame] | 92 | enabled: true |
krishnaa96 | 20552e7 | 2021-05-18 18:52:56 +0530 | [diff] [blame] | 93 | config: |
| 94 | etcd: |
| 95 | userCredentialsExternalSecret: *user-creds |
| 96 | configJobNameOverride: &job-name oof-has-etcd-config |
| 97 | oof-has-controller: *has-config |
| 98 | oof-has-data: *has-config |
| 99 | oof-has-reservation: *has-config |
| 100 | oof-has-solver: *has-config |
krishnaa96 | dbcd1ca | 2020-08-11 10:26:50 +0530 | [diff] [blame] | 101 | |
krishnaa96 | 20552e7 | 2021-05-18 18:52:56 +0530 | [diff] [blame] | 102 | #etcd subchart configurations |
| 103 | etcd: |
| 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 | |
| 130 | etcd-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 Jagiello | 259e876 | 2022-03-11 15:15:36 +0000 | [diff] [blame] | 144 | |
| 145 | # Python doesn't support well dollar sign in password |
malar | 8c4999a | 2022-09-22 11:41:32 +0000 | [diff] [blame] | 146 | passwordStrengthOverride: basic |