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: |
| 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 }}' |
krishnaa96 | 20552e7 | 2021-05-18 18:52:56 +0530 | [diff] [blame] | 35 | - 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 |
krishnaa96 | 24a7ef3 | 2020-10-09 12:01:05 +0530 | [diff] [blame] | 47 | |
Ikram Ikramullah | 40b120b | 2018-05-01 11:35:40 -0400 | [diff] [blame] | 48 | pullPolicy: Always |
| 49 | nodePortPrefix: 302 |
| 50 | dataRootDir: /dockerdata-nfs |
Ritu Sood | 3a63d43 | 2018-05-24 08:23:14 -0700 | [diff] [blame] | 51 | config: |
krishnaa96 | 20552e7 | 2021-05-18 18:52:56 +0530 | [diff] [blame] | 52 | dbBackend: etcd |
Dileep Ranganathan | 61225cb | 2018-10-01 08:14:16 -0700 | [diff] [blame] | 53 | aaf: |
| 54 | serviceName: aaf-service |
| 55 | port: 8100 |
Ritu Sood | 3a63d43 | 2018-05-24 08:23:14 -0700 | [diff] [blame] | 56 | aai: |
| 57 | serviceName: aai |
| 58 | port: 8443 |
amatthews | 379daac | 2022-08-18 15:31:12 +0100 | [diff] [blame] | 59 | plainPort: 80 |
Ritu Sood | 3a63d43 | 2018-05-24 08:23:14 -0700 | [diff] [blame] | 60 | msb: |
| 61 | serviceName: msb-iag |
| 62 | port: 80 |
Dileep Ranganathan | 61225cb | 2018-10-01 08:14:16 -0700 | [diff] [blame] | 63 | music: |
Tschaen, Brendan | 08d7b63 | 2020-04-02 19:49:13 +0000 | [diff] [blame] | 64 | serviceName: music |
| 65 | port: 8443 |
Dileep Ranganathan | 61225cb | 2018-10-01 08:14:16 -0700 | [diff] [blame] | 66 | sms: |
| 67 | serviceName: aaf-sms |
| 68 | port: 10443 |
krishnaa96 | 3865d69 | 2021-02-22 20:53:44 +0530 | [diff] [blame] | 69 | sdc: |
| 70 | serviceName: sdc-be |
| 71 | port: 8443 |
amatthews | 379daac | 2022-08-18 15:31:12 +0100 | [diff] [blame] | 72 | plainPort: 8080 |
krishnaa96 | 3865d69 | 2021-02-22 20:53:44 +0530 | [diff] [blame] | 73 | cps: |
| 74 | service: cps-tbdmt |
| 75 | port: 8080 |
Krishna | 56df313 | 2022-03-31 15:40:34 +0530 | [diff] [blame] | 76 | dcae: |
| 77 | service: dcae-slice-analysis-ms |
| 78 | port: 8080 |
krishnaa96 | 20552e7 | 2021-05-18 18:52:56 +0530 | [diff] [blame] | 79 | etcd: |
| 80 | serviceName: &etcd-service oof-has-etcd |
| 81 | port: 2379 |
| 82 | appUser: conductor |
| 83 | # rootPassword: |
| 84 | # appPassword: |
| 85 | # userCredentialsExternalSecret: |
Dileep Ranganathan | 61225cb | 2018-10-01 08:14:16 -0700 | [diff] [blame] | 86 | # Resource Limit flavor -By Default using small |
| 87 | flavor: small |
| 88 | # Segregation for Different environment (Small and Large) |
| 89 | resources: |
| 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: {} |
krishnaa96 | dbcd1ca | 2020-08-11 10:26:50 +0530 | [diff] [blame] | 105 | |
| 106 | #component overrides |
krishnaa96 | 20552e7 | 2021-05-18 18:52:56 +0530 | [diff] [blame] | 107 | oof-has-api: &has-config |
krishnaa96 | dbcd1ca | 2020-08-11 10:26:50 +0530 | [diff] [blame] | 108 | enabled: true |
krishnaa96 | 24a7ef3 | 2020-10-09 12:01:05 +0530 | [diff] [blame] | 109 | certSecret: *oof-certs |
krishnaa96 | 20552e7 | 2021-05-18 18:52:56 +0530 | [diff] [blame] | 110 | config: |
| 111 | etcd: |
| 112 | userCredentialsExternalSecret: *user-creds |
| 113 | configJobNameOverride: &job-name oof-has-etcd-config |
| 114 | oof-has-controller: *has-config |
| 115 | oof-has-data: *has-config |
| 116 | oof-has-reservation: *has-config |
| 117 | oof-has-solver: *has-config |
| 118 | music: |
| 119 | enabled: false |
krishnaa96 | dbcd1ca | 2020-08-11 10:26:50 +0530 | [diff] [blame] | 120 | |
krishnaa96 | 20552e7 | 2021-05-18 18:52:56 +0530 | [diff] [blame] | 121 | #etcd subchart configurations |
| 122 | etcd: |
| 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 | |
| 149 | etcd-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 Jagiello | 259e876 | 2022-03-11 15:15:36 +0000 | [diff] [blame] | 163 | |
| 164 | # Python doesn't support well dollar sign in password |
malar | 8c4999a | 2022-09-22 11:41:32 +0000 | [diff] [blame] | 165 | passwordStrengthOverride: basic |