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: |
Krishna | 56df313 | 2022-03-31 15:40:34 +0530 | [diff] [blame] | 22 | optf_has: onap/optf-has:2.3.0 |
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 |
| 59 | msb: |
| 60 | serviceName: msb-iag |
| 61 | port: 80 |
Dileep Ranganathan | 61225cb | 2018-10-01 08:14:16 -0700 | [diff] [blame] | 62 | music: |
Tschaen, Brendan | 08d7b63 | 2020-04-02 19:49:13 +0000 | [diff] [blame] | 63 | serviceName: music |
| 64 | port: 8443 |
Dileep Ranganathan | 61225cb | 2018-10-01 08:14:16 -0700 | [diff] [blame] | 65 | sms: |
| 66 | serviceName: aaf-sms |
| 67 | port: 10443 |
krishnaa96 | 3865d69 | 2021-02-22 20:53:44 +0530 | [diff] [blame] | 68 | sdc: |
| 69 | serviceName: sdc-be |
| 70 | port: 8443 |
| 71 | cps: |
| 72 | service: cps-tbdmt |
| 73 | port: 8080 |
Krishna | 56df313 | 2022-03-31 15:40:34 +0530 | [diff] [blame] | 74 | dcae: |
| 75 | service: dcae-slice-analysis-ms |
| 76 | port: 8080 |
krishnaa96 | 20552e7 | 2021-05-18 18:52:56 +0530 | [diff] [blame] | 77 | etcd: |
| 78 | serviceName: &etcd-service oof-has-etcd |
| 79 | port: 2379 |
| 80 | appUser: conductor |
| 81 | # rootPassword: |
| 82 | # appPassword: |
| 83 | # userCredentialsExternalSecret: |
Dileep Ranganathan | 61225cb | 2018-10-01 08:14:16 -0700 | [diff] [blame] | 84 | # Resource Limit flavor -By Default using small |
| 85 | flavor: small |
| 86 | # Segregation for Different environment (Small and Large) |
| 87 | resources: |
| 88 | small: |
| 89 | limits: |
| 90 | memory: 2Gi |
| 91 | cpu: 1000m |
| 92 | requests: |
| 93 | memory: 1Gi |
| 94 | cpu: 500m |
| 95 | large: |
| 96 | limits: |
| 97 | memory: 4Gi |
| 98 | cpu: 2000m |
| 99 | requests: |
| 100 | memory: 2Gi |
| 101 | cpu: 1000m |
| 102 | unlimited: {} |
krishnaa96 | dbcd1ca | 2020-08-11 10:26:50 +0530 | [diff] [blame] | 103 | |
| 104 | #component overrides |
krishnaa96 | 20552e7 | 2021-05-18 18:52:56 +0530 | [diff] [blame] | 105 | oof-has-api: &has-config |
krishnaa96 | dbcd1ca | 2020-08-11 10:26:50 +0530 | [diff] [blame] | 106 | enabled: true |
krishnaa96 | 24a7ef3 | 2020-10-09 12:01:05 +0530 | [diff] [blame] | 107 | certSecret: *oof-certs |
krishnaa96 | 20552e7 | 2021-05-18 18:52:56 +0530 | [diff] [blame] | 108 | config: |
| 109 | etcd: |
| 110 | userCredentialsExternalSecret: *user-creds |
| 111 | configJobNameOverride: &job-name oof-has-etcd-config |
| 112 | oof-has-controller: *has-config |
| 113 | oof-has-data: *has-config |
| 114 | oof-has-reservation: *has-config |
| 115 | oof-has-solver: *has-config |
| 116 | music: |
| 117 | enabled: false |
krishnaa96 | dbcd1ca | 2020-08-11 10:26:50 +0530 | [diff] [blame] | 118 | |
krishnaa96 | 20552e7 | 2021-05-18 18:52:56 +0530 | [diff] [blame] | 119 | #etcd subchart configurations |
| 120 | etcd: |
| 121 | enabled: true |
| 122 | replicaCount: 3 |
| 123 | nameOverride: &etcd-container oof-has-etcd |
| 124 | service: |
| 125 | name: *etcd-service |
| 126 | persistence: |
| 127 | mountSubPath: oof/etcd/data |
| 128 | enabled: true |
| 129 | flavor: &etcd-flavor large |
| 130 | resources: &etcd-resources |
| 131 | small: |
| 132 | limits: |
| 133 | cpu: 100m |
| 134 | memory: 300Mi |
| 135 | requests: |
| 136 | cpu: 10m |
| 137 | memory: 75Mi |
| 138 | large: |
| 139 | limits: |
| 140 | cpu: 200m |
| 141 | memory: 1Gi |
| 142 | requests: |
| 143 | cpu: 50m |
| 144 | memory: 300Mi |
| 145 | unlimited: {} |
| 146 | |
| 147 | etcd-init: |
| 148 | enabled: true |
| 149 | nameOverride: *job-name |
| 150 | etcd: |
| 151 | serviceName: *etcd-service |
| 152 | port : 2379 |
| 153 | containerName: *etcd-container |
| 154 | config: |
| 155 | userRootSecret: *root-password |
| 156 | userCredentialsExternalSecret: *user-creds |
| 157 | appRole: conductor |
| 158 | keyPrefix: conductor |
| 159 | flavor: *etcd-flavor |
| 160 | resources: *etcd-resources |
Michal Jagiello | 259e876 | 2022-03-11 15:15:36 +0000 | [diff] [blame] | 161 | |
| 162 | # Python doesn't support well dollar sign in password |
| 163 | passwordStrengthOverride: basic |