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 |
jananib | 28734e0 | 2020-04-08 21:35:45 +0530 | [diff] [blame] | 20 | persistence: |
| 21 | mountPath: /dockerdata-nfs |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 22 | security: |
| 23 | aaf: |
| 24 | enabled: false |
| 25 | aaf: |
| 26 | auth: |
| 27 | header: Basic c29Ac28ub25hcC5vcmc6ZGVtbzEyMzQ1Ngo= |
krishnaa96 | 92b606b | 2020-10-30 11:29:21 +0530 | [diff] [blame] | 28 | mariadbGalera: |
| 29 | serviceName: mariadb-galera |
| 30 | servicePort: '3306' |
jananib | 28734e0 | 2020-04-08 21:35:45 +0530 | [diff] [blame] | 31 | |
Sylvain Desbureaux | d055a17 | 2020-10-30 14:32:03 +0100 | [diff] [blame] | 32 | readinessCheck: |
| 33 | wait_for: |
Prabhjot Singh Sethi | 46e1756 | 2021-08-20 22:40:23 +0530 | [diff] [blame] | 34 | jobs: |
| 35 | - '{{ include "common.release" . }}-so-mariadb-config-job' |
Sylvain Desbureaux | d055a17 | 2020-10-30 14:32:03 +0100 | [diff] [blame] | 36 | |
| 37 | |
jananib | 28734e0 | 2020-04-08 21:35:45 +0530 | [diff] [blame] | 38 | ################################################################# |
| 39 | # Secrets metaconfig |
| 40 | ################################################################# |
| 41 | secrets: |
| 42 | - uid: db-user-creds |
| 43 | name: '{{ include "common.release" . }}-so-bpmn-infra-db-user-creds' |
| 44 | type: basicAuth |
| 45 | externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}' |
| 46 | login: '{{ .Values.db.userName }}' |
| 47 | password: '{{ .Values.db.userPassword }}' |
| 48 | passwordPolicy: required |
| 49 | - uid: db-admin-creds |
| 50 | name: '{{ include "common.release" . }}-so-bpmn-infra-db-admin-creds' |
| 51 | type: basicAuth |
| 52 | externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}' |
| 53 | login: '{{ .Values.db.adminName }}' |
| 54 | password: '{{ .Values.db.adminPassword }}' |
| 55 | passwordPolicy: required |
jananib | 28734e0 | 2020-04-08 21:35:45 +0530 | [diff] [blame] | 56 | - uid: server-bpel-creds |
| 57 | name: '{{ include "common.release" . }}-so-server-bpel-creds' |
| 58 | type: basicAuth |
| 59 | externalSecret: '{{ tpl (default "" .Values.server.bpelCredsExternalSecret) . }}' |
| 60 | login: '{{ .Values.server.bpel.username }}' |
| 61 | password: '{{ .Values.server.bpel.password }}' |
| 62 | passwordPolicy: required |
| 63 | - uid: server-actuator-creds |
| 64 | name: '{{ include "common.release" . }}-so-server-actuator-creds' |
| 65 | type: basicAuth |
| 66 | externalSecret: '{{ tpl (default "" .Values.server.actuatorCredsExternalSecret) . }}' |
| 67 | login: '{{ .Values.server.actuator.username }}' |
| 68 | password: '{{ .Values.server.actuator.password }}' |
| 69 | passwordPolicy: required |
| 70 | |
jananib | 28734e0 | 2020-04-08 21:35:45 +0530 | [diff] [blame] | 71 | #secretsFilePaths: | |
| 72 | # - 'my file 1' |
| 73 | # - '{{ include "templateThatGeneratesFileName" . }}' |
| 74 | |
| 75 | ################################################################# |
| 76 | # Application configuration defaults. |
| 77 | ################################################################# |
seshukm | 5c4f6ac | 2021-10-18 14:12:55 +0530 | [diff] [blame] | 78 | image: onap/so/so-nssmf-adapter:1.9.1 |
jananib | 28734e0 | 2020-04-08 21:35:45 +0530 | [diff] [blame] | 79 | pullPolicy: Always |
| 80 | |
| 81 | db: |
| 82 | userName: so_user |
| 83 | userPassword: so_User123 |
| 84 | # userCredsExternalSecret: some secret |
| 85 | adminName: so_admin |
| 86 | adminPassword: so_Admin123 |
| 87 | # adminCredsExternalSecret: some secret |
| 88 | server: |
| 89 | actuator: |
| 90 | username: mso_admin |
| 91 | password: password1$ |
| 92 | bpel: |
| 93 | username: bpel |
| 94 | password: password1$ |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 95 | aai: |
| 96 | auth: 2A11B07DB6214A839394AA1EC5844695F5114FC407FF5422625FB00175A3DCB8A1FF745F22867EFA72D5369D599BBD88DA8BED4233CF5586 |
| 97 | mso: |
| 98 | adapters: |
| 99 | requestDb: |
| 100 | auth: Basic YnBlbDpwYXNzd29yZDEk |
jananib | 28734e0 | 2020-04-08 21:35:45 +0530 | [diff] [blame] | 101 | |
| 102 | replicaCount: 1 |
| 103 | minReadySeconds: 10 |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 104 | containerPort: &containerPort 8088 |
seshukm | 65ba214 | 2021-04-01 21:59:10 +0530 | [diff] [blame] | 105 | logPath: ./logs/nssmf-adapter/ |
jananib | 28734e0 | 2020-04-08 21:35:45 +0530 | [diff] [blame] | 106 | app: nssmf-adapter |
| 107 | service: |
| 108 | type: ClusterIP |
| 109 | ports: |
| 110 | - name: api |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 111 | port: *containerPort |
jananib | 28734e0 | 2020-04-08 21:35:45 +0530 | [diff] [blame] | 112 | updateStrategy: |
| 113 | type: RollingUpdate |
| 114 | maxUnavailable: 1 |
| 115 | maxSurge: 1 |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 116 | |
| 117 | soHelpers: |
| 118 | nameOverride: so-nssmf-cert-init |
| 119 | certInitializer: |
| 120 | nameOverride: so-nssmf-cert-init |
| 121 | credsPath: /opt/app/osaaf/local |
| 122 | cadi: |
| 123 | apiEnforcement: org.onap.so.nssmfAdapterPerm |
| 124 | containerPort: *containerPort |
| 125 | |
jananib | 28734e0 | 2020-04-08 21:35:45 +0530 | [diff] [blame] | 126 | # Resource Limit flavor -By Default using small |
| 127 | flavor: small |
| 128 | # Segregation for Different environment (Small and Large) |
| 129 | resources: |
| 130 | small: |
| 131 | limits: |
| 132 | memory: 4Gi |
| 133 | cpu: 2000m |
| 134 | requests: |
| 135 | memory: 1Gi |
| 136 | cpu: 500m |
| 137 | large: |
| 138 | limits: |
| 139 | memory: 8Gi |
| 140 | cpu: 4000m |
| 141 | requests: |
| 142 | memory: 2Gi |
| 143 | cpu: 1000m |
| 144 | unlimited: {} |
| 145 | livenessProbe: |
| 146 | path: /manage/health |
| 147 | port: 8088 |
| 148 | scheme: HTTP |
| 149 | initialDelaySeconds: 600 |
| 150 | periodSeconds: 60 |
| 151 | timeoutSeconds: 10 |
| 152 | successThreshold: 1 |
| 153 | failureThreshold: 3 |
| 154 | ingress: |
| 155 | enabled: false |
| 156 | nodeSelector: {} |
| 157 | tolerations: [] |
| 158 | affinity: {} |
farida azmy | 87f4622 | 2021-04-06 15:25:15 +0200 | [diff] [blame] | 159 | |
| 160 | #Pods Service Account |
| 161 | serviceAccount: |
| 162 | nameOverride: so-nssmf-adapter |
| 163 | roles: |
| 164 | - read |