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 | |
| 36 | ################################################################# |
| 37 | # Secrets metaconfig |
| 38 | ################################################################# |
| 39 | secrets: |
| 40 | - uid: db-user-creds |
| 41 | name: '{{ include "common.release" . }}-so-bpmn-infra-db-user-creds' |
| 42 | type: basicAuth |
| 43 | externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}' |
| 44 | login: '{{ .Values.db.userName }}' |
| 45 | password: '{{ .Values.db.userPassword }}' |
| 46 | passwordPolicy: required |
| 47 | - uid: db-admin-creds |
| 48 | name: '{{ include "common.release" . }}-so-bpmn-infra-db-admin-creds' |
| 49 | type: basicAuth |
| 50 | externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}' |
| 51 | login: '{{ .Values.db.adminName }}' |
| 52 | password: '{{ .Values.db.adminPassword }}' |
| 53 | passwordPolicy: required |
jananib | 28734e0 | 2020-04-08 21:35:45 +0530 | [diff] [blame] | 54 | - uid: server-bpel-creds |
| 55 | name: '{{ include "common.release" . }}-so-server-bpel-creds' |
| 56 | type: basicAuth |
| 57 | externalSecret: '{{ tpl (default "" .Values.server.bpelCredsExternalSecret) . }}' |
| 58 | login: '{{ .Values.server.bpel.username }}' |
| 59 | password: '{{ .Values.server.bpel.password }}' |
| 60 | passwordPolicy: required |
| 61 | - uid: server-actuator-creds |
| 62 | name: '{{ include "common.release" . }}-so-server-actuator-creds' |
| 63 | type: basicAuth |
| 64 | externalSecret: '{{ tpl (default "" .Values.server.actuatorCredsExternalSecret) . }}' |
| 65 | login: '{{ .Values.server.actuator.username }}' |
| 66 | password: '{{ .Values.server.actuator.password }}' |
| 67 | passwordPolicy: required |
| 68 | |
jananib | 28734e0 | 2020-04-08 21:35:45 +0530 | [diff] [blame] | 69 | #secretsFilePaths: | |
| 70 | # - 'my file 1' |
| 71 | # - '{{ include "templateThatGeneratesFileName" . }}' |
| 72 | |
| 73 | ################################################################# |
| 74 | # Application configuration defaults. |
| 75 | ################################################################# |
| 76 | repository: nexus3.onap.org:10001 |
seshukm | 4c285fc | 2020-10-16 15:45:14 +0530 | [diff] [blame^] | 77 | image: onap/so/nssmf-adapter:1.7.9 |
jananib | 28734e0 | 2020-04-08 21:35:45 +0530 | [diff] [blame] | 78 | pullPolicy: Always |
| 79 | |
| 80 | db: |
| 81 | userName: so_user |
| 82 | userPassword: so_User123 |
| 83 | # userCredsExternalSecret: some secret |
| 84 | adminName: so_admin |
| 85 | adminPassword: so_Admin123 |
| 86 | # adminCredsExternalSecret: some secret |
| 87 | server: |
| 88 | actuator: |
| 89 | username: mso_admin |
| 90 | password: password1$ |
| 91 | bpel: |
| 92 | username: bpel |
| 93 | password: password1$ |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 94 | aai: |
| 95 | auth: 2A11B07DB6214A839394AA1EC5844695F5114FC407FF5422625FB00175A3DCB8A1FF745F22867EFA72D5369D599BBD88DA8BED4233CF5586 |
| 96 | mso: |
| 97 | adapters: |
| 98 | requestDb: |
| 99 | auth: Basic YnBlbDpwYXNzd29yZDEk |
jananib | 28734e0 | 2020-04-08 21:35:45 +0530 | [diff] [blame] | 100 | |
| 101 | replicaCount: 1 |
| 102 | minReadySeconds: 10 |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 103 | containerPort: &containerPort 8088 |
jananib | 28734e0 | 2020-04-08 21:35:45 +0530 | [diff] [blame] | 104 | logPath: ./logs/nssmf/ |
| 105 | app: nssmf-adapter |
| 106 | service: |
| 107 | type: ClusterIP |
| 108 | ports: |
| 109 | - name: api |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 110 | port: *containerPort |
jananib | 28734e0 | 2020-04-08 21:35:45 +0530 | [diff] [blame] | 111 | updateStrategy: |
| 112 | type: RollingUpdate |
| 113 | maxUnavailable: 1 |
| 114 | maxSurge: 1 |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 115 | |
| 116 | soHelpers: |
| 117 | nameOverride: so-nssmf-cert-init |
| 118 | certInitializer: |
| 119 | nameOverride: so-nssmf-cert-init |
| 120 | credsPath: /opt/app/osaaf/local |
| 121 | cadi: |
| 122 | apiEnforcement: org.onap.so.nssmfAdapterPerm |
| 123 | containerPort: *containerPort |
| 124 | |
jananib | 28734e0 | 2020-04-08 21:35:45 +0530 | [diff] [blame] | 125 | # Resource Limit flavor -By Default using small |
| 126 | flavor: small |
| 127 | # Segregation for Different environment (Small and Large) |
| 128 | resources: |
| 129 | small: |
| 130 | limits: |
| 131 | memory: 4Gi |
| 132 | cpu: 2000m |
| 133 | requests: |
| 134 | memory: 1Gi |
| 135 | cpu: 500m |
| 136 | large: |
| 137 | limits: |
| 138 | memory: 8Gi |
| 139 | cpu: 4000m |
| 140 | requests: |
| 141 | memory: 2Gi |
| 142 | cpu: 1000m |
| 143 | unlimited: {} |
| 144 | livenessProbe: |
| 145 | path: /manage/health |
| 146 | port: 8088 |
| 147 | scheme: HTTP |
| 148 | initialDelaySeconds: 600 |
| 149 | periodSeconds: 60 |
| 150 | timeoutSeconds: 10 |
| 151 | successThreshold: 1 |
| 152 | failureThreshold: 3 |
| 153 | ingress: |
| 154 | enabled: false |
| 155 | nodeSelector: {} |
| 156 | tolerations: [] |
| 157 | affinity: {} |