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