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