Kiran Kamineni | 3964872 | 2018-03-21 14:58:11 -0700 | [diff] [blame] | 1 | # Copyright 2018 Intel Corporation, Inc |
Sylvain Desbureaux | 0de302a | 2020-06-05 15:19:22 +0200 | [diff] [blame] | 2 | # Modifications © 2020 AT&T, Orange |
Kiran Kamineni | 3964872 | 2018-03-21 14:58:11 -0700 | [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: |
| 20 | nodePortPrefix: 302 |
Kiran Kamineni | e4e81e7 | 2018-04-09 10:14:32 -0700 | [diff] [blame] | 21 | persistence: {} |
Sylvain Desbureaux | 0de302a | 2020-06-05 15:19:22 +0200 | [diff] [blame] | 22 | aafEnabled: true |
ChrisC | ec86a53 | 2020-03-19 15:53:31 -0500 | [diff] [blame] | 23 | |
dsingh.278 | 64a34bf | 2018-09-21 05:11:00 -0400 | [diff] [blame] | 24 | flavor: small |
Sylvain Desbureaux | 0de302a | 2020-06-05 15:19:22 +0200 | [diff] [blame] | 25 | |
| 26 | ################################################################# |
| 27 | # AAF part |
| 28 | ################################################################# |
| 29 | certInitializer: |
| 30 | nameOverride: aaf-sms-cert-init |
| 31 | aafDeployFqi: deployer@people.osaaf.org |
| 32 | aafDeployPass: demo123456! |
| 33 | # aafDeployCredsExternalSecret: some secret |
| 34 | fqdn: aaf-sms |
| 35 | fqi: aaf-sms@aaf-sms.onap.org |
| 36 | public_fqdn: aaf-sms.onap.org |
| 37 | cadi_longitude: "0.0" |
| 38 | cadi_latitude: "0.0" |
| 39 | app_ns: org.osaaf.aaf |
| 40 | mountPath: /opt/app/osaaf |
| 41 | keystore: truststoreONAPall.jks |
| 42 | keystore_pass: changeit |
| 43 | root_ca_alias: onaptestca |
| 44 | root_ca_name: aaf_root_ca.cer |
| 45 | permission_user: 1000 |
| 46 | permission_group: 1000 |
| 47 | aaf_add_config: > |
| 48 | cd {{ .Values.mountPath }}/local; |
| 49 | keytool -exportcert -rfc -file {{ .Values.root_ca_name }} -keystore {{ .Values.keystore }} |
| 50 | -alias {{ .Values.root_ca_alias }} -storepass {{ .Values.keystore_pass }}; |
| 51 | chown -R {{.Values.permission_user}}:{{.Values.permission_group}} |
| 52 | {{ .Values.mountPath }}; |
| 53 | |
Kiran Kamineni | 3964872 | 2018-03-21 14:58:11 -0700 | [diff] [blame] | 54 | ################################################################# |
| 55 | # Application configuration defaults. |
| 56 | ################################################################# |
| 57 | # application image |
ChrisC | ec86a53 | 2020-03-19 15:53:31 -0500 | [diff] [blame] | 58 | image: onap/aaf/sms:4.0.2 |
Kiran Kamineni | 3964872 | 2018-03-21 14:58:11 -0700 | [diff] [blame] | 59 | pullPolicy: Always |
| 60 | |
| 61 | # flag to enable debugging - application support required |
| 62 | debugEnabled: false |
| 63 | |
| 64 | # application configuration |
| 65 | # Example: |
| 66 | config: |
Kiran Kamineni | 992e1ad | 2018-04-06 15:42:40 -0700 | [diff] [blame] | 67 | smsdbaddress: "http://aaf-sms-db:8200" |
Sylvain Desbureaux | 0de302a | 2020-06-05 15:19:22 +0200 | [diff] [blame] | 68 | cafile: "/opt/app/osaaf/local/aaf_root_ca.cer" |
| 69 | servercert: "/opt/app/osaaf/local/org.onap.aaf-sms.crt" |
| 70 | serverkey: "/opt/app/osaaf/local/org.onap.aaf-sms.key" |
Kiran Kamineni | c808c9a | 2018-05-14 16:59:55 -0700 | [diff] [blame] | 71 | password: "c2VjcmV0bWFuYWdlbWVudHNlcnZpY2VzZWNyZXRwYXNzd29yZA==" |
Kiran Kamineni | 3964872 | 2018-03-21 14:58:11 -0700 | [diff] [blame] | 72 | |
| 73 | # subchart configuration |
| 74 | vault: |
| 75 | nameOverride: smsdb |
| 76 | |
| 77 | # default number of instances |
| 78 | replicaCount: 1 |
| 79 | |
| 80 | nodeSelector: {} |
| 81 | |
| 82 | affinity: {} |
| 83 | |
| 84 | # probe configuration parameters |
| 85 | liveness: |
| 86 | initialDelaySeconds: 10 |
Kiran Kamineni | c808c9a | 2018-05-14 16:59:55 -0700 | [diff] [blame] | 87 | periodSeconds: 30 |
Kiran Kamineni | 3964872 | 2018-03-21 14:58:11 -0700 | [diff] [blame] | 88 | # necessary to disable liveness probe when setting breakpoints |
| 89 | # in debugger so K8s doesn't restart unresponsive container |
| 90 | enabled: true |
| 91 | |
| 92 | readiness: |
| 93 | initialDelaySeconds: 10 |
Kiran Kamineni | c808c9a | 2018-05-14 16:59:55 -0700 | [diff] [blame] | 94 | periodSeconds: 30 |
Kiran Kamineni | 3964872 | 2018-03-21 14:58:11 -0700 | [diff] [blame] | 95 | |
| 96 | service: |
Kiran Kamineni | 1023836 | 2019-03-19 13:15:02 -0700 | [diff] [blame] | 97 | type: ClusterIP |
Kiran Kamineni | 992e1ad | 2018-04-06 15:42:40 -0700 | [diff] [blame] | 98 | name: aaf-sms |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 99 | portName: aaf-sms |
Kiran Kamineni | 3964872 | 2018-03-21 14:58:11 -0700 | [diff] [blame] | 100 | internalPort: 10443 |
Kiran Kamineni | 1023836 | 2019-03-19 13:15:02 -0700 | [diff] [blame] | 101 | externalPort: 10443 |
Kiran Kamineni | 3964872 | 2018-03-21 14:58:11 -0700 | [diff] [blame] | 102 | |
Jakub Latusek | bffbe91 | 2020-09-24 14:27:32 +0200 | [diff] [blame] | 103 | #define value for aaf-sms-quorumclient subchart |
| 104 | aaf-sms-quorumclient: |
| 105 | service: |
| 106 | name: aaf-sms |
| 107 | |
Kiran Kamineni | e4e81e7 | 2018-04-09 10:14:32 -0700 | [diff] [blame] | 108 | persistence: |
| 109 | enabled: true |
| 110 | volumeReclaimPolicy: Retain |
| 111 | accessMode: ReadWriteOnce |
| 112 | size: 1Gi |
| 113 | mountPath: /dockerdata-nfs |
| 114 | mountSubPath: sms/auth |
| 115 | |
Kiran Kamineni | 3964872 | 2018-03-21 14:58:11 -0700 | [diff] [blame] | 116 | ingress: |
| 117 | enabled: false |
| 118 | |
Krzysztof Opasiak | 59d47c3 | 2020-04-16 20:01:05 +0200 | [diff] [blame] | 119 | secrets: |
| 120 | - uid: aai-creds |
| 121 | type: basicAuth |
| 122 | login: '{{ .Values.oofCreds.aaiUsername }}' |
| 123 | password: '{{ .Values.oofCreds.aaiPassword }}' |
| 124 | passwordPolicy: required |
| 125 | - uid: conductor-creds |
| 126 | type: basicAuth |
| 127 | login: '{{ .Values.oofCreds.conductorUsername }}' |
| 128 | password: '{{ .Values.oofCreds.conductorPassword }}' |
| 129 | passwordPolicy: required |
| 130 | - uid: sdnc-creds |
| 131 | type: basicAuth |
| 132 | login: '{{ .Values.oofCreds.sdncUsername }}' |
| 133 | password: '{{ .Values.oofCreds.sdncPassword }}' |
| 134 | passwordPolicy: required |
| 135 | - uid: music-creds |
| 136 | type: basicAuth |
| 137 | login: '{{ .Values.oofCreds.musicUsername }}' |
| 138 | password: '{{ .Values.oofCreds.musicPassword }}' |
| 139 | passwordPolicy: required |
| 140 | - uid: aaf-creds |
| 141 | type: basicAuth |
| 142 | login: '{{ .Values.oofCreds.aafUsername }}' |
| 143 | password: '{{ .Values.oofCreds.aafPassword }}' |
| 144 | passwordPolicy: required |
| 145 | - uid: policy-plat-creds |
| 146 | type: basicAuth |
| 147 | login: '{{ .Values.oofCreds.policyPlatUsername }}' |
| 148 | password: '{{ .Values.oofCreds.policyPlatPassword }}' |
| 149 | passwordPolicy: required |
| 150 | - uid: policy-cli-creds |
| 151 | type: basicAuth |
| 152 | login: '{{ .Values.oofCreds.policyCliUsername }}' |
| 153 | password: '{{ .Values.oofCreds.policyCliPassword }}' |
| 154 | passwordPolicy: required |
| 155 | - uid: osdf-placement-creds |
| 156 | type: basicAuth |
| 157 | login: '{{ .Values.oofCreds.osdfPlacementUsername }}' |
| 158 | password: '{{ .Values.oofCreds.osdfPlacementPassword }}' |
| 159 | passwordPolicy: required |
| 160 | - uid: osdf-placement-so-creds |
| 161 | type: basicAuth |
| 162 | login: '{{ .Values.oofCreds.osdfPlacementSOUsername }}' |
| 163 | password: '{{ .Values.oofCreds.osdfPlacementSOPassword }}' |
| 164 | passwordPolicy: required |
| 165 | - uid: osdf-placement-vfc-creds |
| 166 | type: basicAuth |
| 167 | login: '{{ .Values.oofCreds.osdfPlacementVFCUsername }}' |
| 168 | password: '{{ .Values.oofCreds.osdfPlacementVFCPassword }}' |
| 169 | passwordPolicy: required |
| 170 | - uid: osdf-cm-scheduler-creds |
| 171 | type: basicAuth |
| 172 | login: '{{ .Values.oofCreds.osdfCMSchedulerUsername }}' |
| 173 | password: '{{ .Values.oofCreds.osdfCMSchedulerPassword }}' |
| 174 | passwordPolicy: required |
| 175 | - uid: config-db-creds |
| 176 | type: basicAuth |
| 177 | login: '{{ .Values.oofCreds.configDbUsername }}' |
| 178 | password: '{{ .Values.oofCreds.configDbPassword }}' |
| 179 | passwordPolicy: required |
| 180 | - uid: osdf-pci-opt-creds |
| 181 | type: basicAuth |
| 182 | login: '{{ .Values.oofCreds.osdfPCIOptUsername }}' |
| 183 | password: '{{ .Values.oofCreds.osdfPCIOptPassword }}' |
| 184 | passwordPolicy: required |
| 185 | - uid: osdf-opt-engine-creds |
| 186 | type: basicAuth |
| 187 | login: '{{ .Values.oofCreds.osdfOptEngineUsername }}' |
| 188 | password: '{{ .Values.oofCreds.osdfOptEnginePassword }}' |
| 189 | passwordPolicy: required |
vrvarma | 26dbd2b | 2020-05-18 19:37:19 -0400 | [diff] [blame] | 190 | - uid: so-creds |
| 191 | type: basicAuth |
| 192 | login: '{{ .Values.oofCreds.soUsername }}' |
| 193 | password: '{{ .Values.oofCreds.soPassword }}' |
| 194 | passwordPolicy: required |
krishnaa96 | 2652e51 | 2021-03-10 12:02:52 +0530 | [diff] [blame] | 195 | - uid: sdc-creds |
| 196 | type: basicAuth |
| 197 | login: '{{ .Values.oofCreds.sdcUsername }}' |
| 198 | password: '{{ .Values.oofCreds.sdcPassword }}' |
| 199 | passwordPolicy: required |
Krzysztof Opasiak | 59d47c3 | 2020-04-16 20:01:05 +0200 | [diff] [blame] | 200 | oofCreds: |
| 201 | aaiUsername: oof@oof.onap.org |
| 202 | aaiPassword: demo123456! |
| 203 | |
| 204 | conductorUsername: admin1 |
| 205 | conductorPassword: plan.15 |
| 206 | |
| 207 | sdncUsername: admin |
| 208 | sdncPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U |
| 209 | |
| 210 | musicUsername: conductor |
| 211 | musicPassword: c0nduct0r |
| 212 | |
| 213 | aafUsername: aaf_admin@people.osaaf.org |
| 214 | aafPassword: demo123456! |
| 215 | |
vrvarma | 7344c28 | 2020-05-06 14:58:35 -0400 | [diff] [blame] | 216 | policyPlatUsername: healthcheck |
| 217 | policyPlatPassword: zb!XztG34 |
Krzysztof Opasiak | 59d47c3 | 2020-04-16 20:01:05 +0200 | [diff] [blame] | 218 | |
vrvarma | 7344c28 | 2020-05-06 14:58:35 -0400 | [diff] [blame] | 219 | policyCliUsername: healthcheck |
| 220 | policyCliPassword: zb!XztG34 |
Krzysztof Opasiak | 59d47c3 | 2020-04-16 20:01:05 +0200 | [diff] [blame] | 221 | |
| 222 | osdfPlacementUsername: test |
| 223 | osdfPlacementPassword: testpwd |
| 224 | |
| 225 | osdfPlacementSOUsername: so_test |
| 226 | osdfPlacementSOPassword: so_testpwd |
| 227 | |
| 228 | osdfPlacementVFCUsername: vfc_test |
| 229 | osdfPlacementVFCPassword: vfc_testpwd |
| 230 | |
| 231 | osdfCMSchedulerUsername: test1 |
| 232 | osdfCMSchedulerPassword: testpwd1 |
| 233 | |
| 234 | configDbUsername: osdf |
| 235 | configDbPassword: passwd |
| 236 | |
| 237 | osdfPCIOptUsername: pci_test |
| 238 | osdfPCIOptPassword: pci_testpwd |
| 239 | |
| 240 | osdfOptEngineUsername: opt_test |
| 241 | osdfOptEnginePassword: opt_testpwd |
| 242 | |
vrvarma | 26dbd2b | 2020-05-18 19:37:19 -0400 | [diff] [blame] | 243 | soUsername: apihBpmn |
| 244 | soPassword: password1$ |
| 245 | |
krishnaa96 | 2652e51 | 2021-03-10 12:02:52 +0530 | [diff] [blame] | 246 | sdcUsername: aai |
| 247 | sdcPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U |
| 248 | |
dsingh.278 | 64a34bf | 2018-09-21 05:11:00 -0400 | [diff] [blame] | 249 | # Configure resource requests and limits |
| 250 | resources: |
| 251 | small: |
| 252 | limits: |
Sylvain Desbureaux | c10829f | 2019-11-29 14:43:58 +0100 | [diff] [blame] | 253 | cpu: 100m |
Sylvain Desbureaux | 993bd35 | 2020-03-04 11:25:15 +0100 | [diff] [blame] | 254 | memory: 400Mi |
dsingh.278 | 64a34bf | 2018-09-21 05:11:00 -0400 | [diff] [blame] | 255 | requests: |
Sylvain Desbureaux | daee54b | 2020-02-12 17:41:18 +0100 | [diff] [blame] | 256 | cpu: 25m |
dsingh.278 | 64a34bf | 2018-09-21 05:11:00 -0400 | [diff] [blame] | 257 | memory: 10Mi |
| 258 | large: |
| 259 | limits: |
| 260 | cpu: 400m |
| 261 | memory: 1Gi |
| 262 | requests: |
Sylvain Desbureaux | 993bd35 | 2020-03-04 11:25:15 +0100 | [diff] [blame] | 263 | cpu: 25m |
dsingh.278 | 64a34bf | 2018-09-21 05:11:00 -0400 | [diff] [blame] | 264 | memory: 100Mi |
Kiran Kamineni | 7a8dff3 | 2018-10-30 15:25:47 -0700 | [diff] [blame] | 265 | unlimited: {} |