Priyadharshini | 7dc0385 | 2020-08-27 04:36:03 -0700 | [diff] [blame] | 1 | # Copyright © 2020 Wipro Limited. |
| 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 | ################################################################# |
| 16 | # Global configuration defaults. |
| 17 | ################################################################# |
| 18 | global: |
| 19 | nodePortPrefix: 302 |
| 20 | nodePortPrefixExt: 304 |
Priyadharshini | 7dc0385 | 2020-08-27 04:36:03 -0700 | [diff] [blame] | 21 | persistence: |
| 22 | mountPath: /dockerdata-nfs |
| 23 | security: |
| 24 | aaf: |
| 25 | enabled: false |
| 26 | aaf: |
| 27 | auth: |
| 28 | header: Basic c29Ac28ub25hcC5vcmc6ZGVtbzEyMzQ1Ngo= |
krishnaa96 | 92b606b | 2020-10-30 11:29:21 +0530 | [diff] [blame] | 29 | mariadbGalera: |
| 30 | serviceName: mariadb-galera |
| 31 | servicePort: '3306' |
| 32 | |
Priyadharshini | 7dc0385 | 2020-08-27 04:36:03 -0700 | [diff] [blame] | 33 | # Secrets metaconfig |
| 34 | ################################################################# |
| 35 | db: |
| 36 | userName: so_user |
| 37 | userPassword: so_User123 |
| 38 | # userCredsExternalSecret: some secret |
| 39 | adminName: so_admin |
| 40 | adminPassword: so_Admin123 |
| 41 | # adminCredsExternalSecret: some secret |
| 42 | secrets: |
| 43 | - uid: 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 | type: basicAuth |
| 51 | externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}' |
| 52 | login: '{{ .Values.db.adminName }}' |
| 53 | password: '{{ .Values.db.adminPassword }}' |
| 54 | passwordPolicy: required |
| 55 | - uid: oof-adapter-mso-key |
| 56 | type: password |
| 57 | externalSecret: '{{ tpl (default "" .Values.mso.msoKeySecret) . }}' |
| 58 | password: '{{ .Values.mso.msoKey }}' |
| 59 | - uid: oof-auth |
| 60 | type: basicAuth |
| 61 | externalSecret: '{{ tpl (default "" .Values.mso.oof.authSecret) . }}' |
| 62 | login: '{{ .Values.mso.oof.login }}' |
| 63 | password: '{{ .Values.mso.oof.password }}' |
| 64 | passwordPolicy: required |
| 65 | |
| 66 | |
| 67 | #secretsFilePaths: | |
| 68 | # - 'my file 1' |
| 69 | # - '{{ include "templateThatGeneratesFileName" . }}' |
| 70 | |
| 71 | ################################################################# |
| 72 | # Application configuration defaults. |
| 73 | ################################################################# |
deen1985 | b958d7d | 2020-12-28 11:56:52 +0100 | [diff] [blame] | 74 | image: onap/so/so-oof-adapter:1.7.11 |
Priyadharshini | 7dc0385 | 2020-08-27 04:36:03 -0700 | [diff] [blame] | 75 | pullPolicy: Always |
| 76 | |
| 77 | mso: |
| 78 | msoKey: 07a7159d3bf51a0e53be7a8f89699be7 |
| 79 | oof: |
| 80 | login: test |
| 81 | password: testpwd |
| 82 | |
| 83 | replicaCount: 1 |
| 84 | containerPort: &containerPort 8090 |
| 85 | minReadySeconds: 10 |
| 86 | containerPort: *containerPort |
| 87 | logPath: ./logs/oof/ |
| 88 | app: so-oof-adapter |
| 89 | service: |
| 90 | type: ClusterIP |
| 91 | ports: |
| 92 | - name: api |
| 93 | port: *containerPort |
| 94 | updateStrategy: |
| 95 | type: RollingUpdate |
| 96 | maxUnavailable: 1 |
| 97 | maxSurge: 1 |
| 98 | |
| 99 | |
| 100 | soHelpers: |
| 101 | nameOverride: so-oof-adapter-cert-init |
| 102 | certInitializer: |
| 103 | nameOverride: so-oof-adapter-cert-init |
| 104 | credsPath: /opt/app/osaaf/local |
| 105 | cadi: |
| 106 | apiEnforcement: org.onap.so.oofadapterPerm |
| 107 | containerPort: *containerPort |
| 108 | |
| 109 | # Resource Limit flavor -By Default using small |
| 110 | flavor: small |
| 111 | # Segregation for Different environment (Small and Large) |
| 112 | resources: |
| 113 | small: |
| 114 | limits: |
| 115 | memory: 4Gi |
| 116 | cpu: 2000m |
| 117 | requests: |
| 118 | memory: 1Gi |
| 119 | cpu: 500m |
| 120 | large: |
| 121 | limits: |
| 122 | memory: 8Gi |
| 123 | cpu: 4000m |
| 124 | requests: |
| 125 | memory: 2Gi |
| 126 | cpu: 1000m |
| 127 | unlimited: {} |
| 128 | livenessProbe: |
| 129 | path: /manage/health |
| 130 | port: *containerPort |
| 131 | scheme: HTTP |
| 132 | initialDelaySeconds: 600 |
| 133 | periodSeconds: 60 |
| 134 | timeoutSeconds: 10 |
| 135 | successThreshold: 1 |
| 136 | failureThreshold: 3 |
| 137 | ingress: |
| 138 | enabled: false |
| 139 | nodeSelector: {} |
| 140 | tolerations: [] |
| 141 | affinity: {} |