jananib | 28734e0 | 2020-04-08 21:35:45 +0530 | [diff] [blame] | 1 | # Copyright © 2020 Huawei Technologies Co., Ltd. |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | ################################################################# |
| 15 | # Global configuration defaults. |
| 16 | ################################################################# |
| 17 | global: |
| 18 | nodePortPrefix: 302 |
| 19 | nodePortPrefixExt: 304 |
| 20 | repository: nexus3.onap.org:10001 |
Sylvain Desbureaux | 1694e1d | 2020-08-21 09:58:25 +0200 | [diff] [blame] | 21 | readinessImage: onap/oom/readiness:3.0.1 |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 22 | aafAgentImage: onap/aaf/aaf_agent:2.1.20 |
| 23 | envsubstImage: dibi/envsubst |
jananib | 28734e0 | 2020-04-08 21:35:45 +0530 | [diff] [blame] | 24 | persistence: |
| 25 | mountPath: /dockerdata-nfs |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 26 | security: |
| 27 | aaf: |
| 28 | enabled: false |
| 29 | aaf: |
| 30 | auth: |
| 31 | header: Basic c29Ac28ub25hcC5vcmc6ZGVtbzEyMzQ1Ngo= |
krishnaa96 | 92b606b | 2020-10-30 11:29:21 +0530 | [diff] [blame] | 32 | mariadbGalera: |
| 33 | serviceName: mariadb-galera |
| 34 | servicePort: '3306' |
jananib | 28734e0 | 2020-04-08 21:35:45 +0530 | [diff] [blame] | 35 | |
Sylvain Desbureaux | d055a17 | 2020-10-30 14:32:03 +0100 | [diff] [blame^] | 36 | readinessCheck: |
| 37 | wait_for: |
| 38 | - so-mariadb-config |
| 39 | |
| 40 | |
jananib | 28734e0 | 2020-04-08 21:35:45 +0530 | [diff] [blame] | 41 | ################################################################# |
| 42 | # Secrets metaconfig |
| 43 | ################################################################# |
| 44 | secrets: |
| 45 | - uid: db-user-creds |
| 46 | name: '{{ include "common.release" . }}-so-bpmn-infra-db-user-creds' |
| 47 | type: basicAuth |
| 48 | externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}' |
| 49 | login: '{{ .Values.db.userName }}' |
| 50 | password: '{{ .Values.db.userPassword }}' |
| 51 | passwordPolicy: required |
| 52 | - uid: db-admin-creds |
| 53 | name: '{{ include "common.release" . }}-so-bpmn-infra-db-admin-creds' |
| 54 | type: basicAuth |
| 55 | externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}' |
| 56 | login: '{{ .Values.db.adminName }}' |
| 57 | password: '{{ .Values.db.adminPassword }}' |
| 58 | passwordPolicy: required |
jananib | 28734e0 | 2020-04-08 21:35:45 +0530 | [diff] [blame] | 59 | - uid: server-bpel-creds |
| 60 | name: '{{ include "common.release" . }}-so-server-bpel-creds' |
| 61 | type: basicAuth |
| 62 | externalSecret: '{{ tpl (default "" .Values.server.bpelCredsExternalSecret) . }}' |
| 63 | login: '{{ .Values.server.bpel.username }}' |
| 64 | password: '{{ .Values.server.bpel.password }}' |
| 65 | passwordPolicy: required |
| 66 | - uid: server-actuator-creds |
| 67 | name: '{{ include "common.release" . }}-so-server-actuator-creds' |
| 68 | type: basicAuth |
| 69 | externalSecret: '{{ tpl (default "" .Values.server.actuatorCredsExternalSecret) . }}' |
| 70 | login: '{{ .Values.server.actuator.username }}' |
| 71 | password: '{{ .Values.server.actuator.password }}' |
| 72 | passwordPolicy: required |
| 73 | |
jananib | 28734e0 | 2020-04-08 21:35:45 +0530 | [diff] [blame] | 74 | #secretsFilePaths: | |
| 75 | # - 'my file 1' |
| 76 | # - '{{ include "templateThatGeneratesFileName" . }}' |
| 77 | |
| 78 | ################################################################# |
| 79 | # Application configuration defaults. |
| 80 | ################################################################# |
| 81 | repository: nexus3.onap.org:10001 |
seshukm | 40ec9fa | 2020-07-08 14:26:34 +0530 | [diff] [blame] | 82 | image: onap/so/nssmf-adapter:1.6.4 |
jananib | 28734e0 | 2020-04-08 21:35:45 +0530 | [diff] [blame] | 83 | pullPolicy: Always |
| 84 | |
| 85 | db: |
| 86 | userName: so_user |
| 87 | userPassword: so_User123 |
| 88 | # userCredsExternalSecret: some secret |
| 89 | adminName: so_admin |
| 90 | adminPassword: so_Admin123 |
| 91 | # adminCredsExternalSecret: some secret |
| 92 | server: |
| 93 | actuator: |
| 94 | username: mso_admin |
| 95 | password: password1$ |
| 96 | bpel: |
| 97 | username: bpel |
| 98 | password: password1$ |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 99 | aai: |
| 100 | auth: 2A11B07DB6214A839394AA1EC5844695F5114FC407FF5422625FB00175A3DCB8A1FF745F22867EFA72D5369D599BBD88DA8BED4233CF5586 |
| 101 | mso: |
| 102 | adapters: |
| 103 | requestDb: |
| 104 | auth: Basic YnBlbDpwYXNzd29yZDEk |
jananib | 28734e0 | 2020-04-08 21:35:45 +0530 | [diff] [blame] | 105 | |
| 106 | replicaCount: 1 |
| 107 | minReadySeconds: 10 |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 108 | containerPort: &containerPort 8088 |
jananib | 28734e0 | 2020-04-08 21:35:45 +0530 | [diff] [blame] | 109 | logPath: ./logs/nssmf/ |
| 110 | app: nssmf-adapter |
| 111 | service: |
| 112 | type: ClusterIP |
| 113 | ports: |
| 114 | - name: api |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 115 | port: *containerPort |
jananib | 28734e0 | 2020-04-08 21:35:45 +0530 | [diff] [blame] | 116 | updateStrategy: |
| 117 | type: RollingUpdate |
| 118 | maxUnavailable: 1 |
| 119 | maxSurge: 1 |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 120 | |
| 121 | soHelpers: |
| 122 | nameOverride: so-nssmf-cert-init |
| 123 | certInitializer: |
| 124 | nameOverride: so-nssmf-cert-init |
| 125 | credsPath: /opt/app/osaaf/local |
| 126 | cadi: |
| 127 | apiEnforcement: org.onap.so.nssmfAdapterPerm |
| 128 | containerPort: *containerPort |
| 129 | |
jananib | 28734e0 | 2020-04-08 21:35:45 +0530 | [diff] [blame] | 130 | # Resource Limit flavor -By Default using small |
| 131 | flavor: small |
| 132 | # Segregation for Different environment (Small and Large) |
| 133 | resources: |
| 134 | small: |
| 135 | limits: |
| 136 | memory: 4Gi |
| 137 | cpu: 2000m |
| 138 | requests: |
| 139 | memory: 1Gi |
| 140 | cpu: 500m |
| 141 | large: |
| 142 | limits: |
| 143 | memory: 8Gi |
| 144 | cpu: 4000m |
| 145 | requests: |
| 146 | memory: 2Gi |
| 147 | cpu: 1000m |
| 148 | unlimited: {} |
| 149 | livenessProbe: |
| 150 | path: /manage/health |
| 151 | port: 8088 |
| 152 | scheme: HTTP |
| 153 | initialDelaySeconds: 600 |
| 154 | periodSeconds: 60 |
| 155 | timeoutSeconds: 10 |
| 156 | successThreshold: 1 |
| 157 | failureThreshold: 3 |
| 158 | ingress: |
| 159 | enabled: false |
| 160 | nodeSelector: {} |
| 161 | tolerations: [] |
| 162 | affinity: {} |