AndrewLamb | 8e09044 | 2020-10-15 09:28:09 +0100 | [diff] [blame] | 1 | # Copyright © 2020 Nordix Foundation |
| 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 | nodePortPrefixExt: 304 |
AndrewLamb | 8e09044 | 2020-10-15 09:28:09 +0100 | [diff] [blame] | 20 | persistence: |
| 21 | mountPath: /dockerdata-nfs |
| 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' |
AndrewLamb | 8e09044 | 2020-10-15 09:28:09 +0100 | [diff] [blame] | 31 | |
| 32 | ################################################################# |
| 33 | # Secrets metaconfig |
| 34 | ################################################################# |
| 35 | secrets: |
| 36 | - uid: etsi-nfvo-nslcm-creds |
| 37 | name: '{{ include "common.release" . }}-so-etsi-nfvo-nslcm-creds' |
| 38 | type: basicAuth |
| 39 | externalSecret: '{{ tpl (default "" .Values.etsi.nfvo.nslcm.credsExternalSecret) . }}' |
| 40 | login: '{{ .Values.etsi.nfvo.nslcm.username }}' |
| 41 | password: '{{ .Values.etsi.nfvo.nslcm.password }}' |
rope252 | 4d3f368 | 2020-09-02 20:49:21 +0100 | [diff] [blame] | 42 | - uid: db-user-creds |
| 43 | type: basicAuth |
| 44 | externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}' |
| 45 | login: '{{ .Values.db.userName }}' |
| 46 | password: '{{ .Values.db.userPassword }}' |
| 47 | passwordPolicy: required |
| 48 | - uid: 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 |
AndrewLamb | 8e09044 | 2020-10-15 09:28:09 +0100 | [diff] [blame] | 54 | |
| 55 | ################################################################# |
| 56 | # Application configuration defaults. |
| 57 | ################################################################# |
deen1985 | b958d7d | 2020-12-28 11:56:52 +0100 | [diff] [blame] | 58 | image: onap/so/so-etsi-nfvo-ns-lcm:1.7.11 |
AndrewLamb | 8e09044 | 2020-10-15 09:28:09 +0100 | [diff] [blame] | 59 | pullPolicy: Always |
| 60 | |
| 61 | aai: |
| 62 | auth: 2A11B07DB6214A839394AA1EC5844695F5114FC407FF5422625FB00175A3DCB8A1FF745F22867EFA72D5369D599BBD88DA8BED4233CF5586 |
rope252 | 4d3f368 | 2020-09-02 20:49:21 +0100 | [diff] [blame] | 63 | db: |
| 64 | userName: so_user |
| 65 | userPassword: so_User123 |
| 66 | # userCredsExternalSecret: some secret |
| 67 | adminName: so_admin |
| 68 | adminPassword: so_Admin123 |
| 69 | # adminCredsExternalSecret: some secret |
AndrewLamb | 8e09044 | 2020-10-15 09:28:09 +0100 | [diff] [blame] | 70 | etsi: |
| 71 | nfvo: |
| 72 | nslcm: |
| 73 | username: so-etsi-nfvo-ns-lcm |
| 74 | mso: |
| 75 | key: 07a7159d3bf51a0e53be7a8f89699be7 |
| 76 | so: |
| 77 | sol003: |
| 78 | adapter: |
| 79 | auth: Basic dm5mbTpwYXNzd29yZDEk |
| 80 | |
| 81 | replicaCount: 1 |
| 82 | minReadySeconds: 10 |
| 83 | containerPort: &containerPort 9095 |
| 84 | logPath: ./logs/so-etsi-nfvo-ns-lcm/ |
| 85 | app: so-etsi-nfvo-ns-lcm |
| 86 | service: |
| 87 | type: ClusterIP |
| 88 | name: so-etsi-nfvo-ns-lcm |
| 89 | annotations: |
| 90 | service.alpha.kubernetes.io/tolerate-unready-endpoints: 'true' |
| 91 | msb.onap.org/service-info: | |
AndrewLamb | 92c2d39 | 2020-11-10 10:36:52 +0000 | [diff] [blame] | 92 | {{ if .Values.global.msbEnabled -}}[ |
AndrewLamb | 8e09044 | 2020-10-15 09:28:09 +0100 | [diff] [blame] | 93 | { |
| 94 | "serviceName": "{{ include "common.servicename" . }}", |
| 95 | "version": "v1", |
| 96 | "url": "/so/so-etsi-nfvo-ns-lcm/v1", |
| 97 | "protocol": "REST", |
AndrewLamb | 92c2d39 | 2020-11-10 10:36:52 +0000 | [diff] [blame] | 98 | "port": "{{ include "common.getPort" (dict "global" . "name" "http-api") }}", |
AndrewLamb | 8e09044 | 2020-10-15 09:28:09 +0100 | [diff] [blame] | 99 | "visualRange":"1" |
| 100 | } |
| 101 | ]{{ end }} |
| 102 | ports: |
| 103 | - name: http-api |
| 104 | port: *containerPort |
| 105 | updateStrategy: |
| 106 | type: RollingUpdate |
| 107 | maxUnavailable: 1 |
| 108 | maxSurge: 1 |
| 109 | |
| 110 | ################################################################# |
| 111 | # soHelpers part |
| 112 | ################################################################# |
| 113 | soHelpers: |
| 114 | nameOverride: so-nfvo-cert-init |
| 115 | certInitializer: |
| 116 | nameOverride: so-nfvo-cert-init |
| 117 | credsPath: /opt/app/osaaf/local |
| 118 | cadi: |
| 119 | apiEnforcement: org.onap.so.nfvoAdapterPerm |
| 120 | containerPort: *containerPort |
| 121 | |
| 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 | |
| 142 | livenessProbe: |
| 143 | port: 9095 |
| 144 | initialDelaySeconds: 600 |
| 145 | periodSeconds: 60 |
| 146 | timeoutSeconds: 10 |
| 147 | successThreshold: 1 |
| 148 | failureThreshold: 3 |
| 149 | |
| 150 | ingress: |
| 151 | enabled: false |
| 152 | service: |
| 153 | - baseaddr: 'soetsinfvonslcm' |
| 154 | name: 'so-etsi-nfvo-ns-lcm' |
| 155 | port: 9095 |
| 156 | config: |
| 157 | ssl: 'redirect' |
| 158 | |
| 159 | nodeSelector: {} |
| 160 | |
| 161 | tolerations: [] |
| 162 | |
| 163 | affinity: {} |