blob: 8790877492b09190f2215c2d7ae327efa15c7f16 [file] [log] [blame]
AndrewLamb8e090442020-10-15 09:28:09 +01001# 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#################################################################
18global:
19 nodePortPrefixExt: 304
AndrewLamb8e090442020-10-15 09:28:09 +010020 persistence:
21 mountPath: /dockerdata-nfs
krishnaa9692b606b2020-10-30 11:29:21 +053022 mariadbGalera:
23 serviceName: mariadb-galera
24 servicePort: '3306'
AndrewLamb8e090442020-10-15 09:28:09 +010025
26#################################################################
27# Secrets metaconfig
28#################################################################
29secrets:
30 - uid: etsi-nfvo-nslcm-creds
31 name: '{{ include "common.release" . }}-so-etsi-nfvo-nslcm-creds'
32 type: basicAuth
33 externalSecret: '{{ tpl (default "" .Values.etsi.nfvo.nslcm.credsExternalSecret) . }}'
34 login: '{{ .Values.etsi.nfvo.nslcm.username }}'
35 password: '{{ .Values.etsi.nfvo.nslcm.password }}'
rope2524d3f3682020-09-02 20:49:21 +010036 - uid: db-user-creds
37 type: basicAuth
38 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
39 login: '{{ .Values.db.userName }}'
40 password: '{{ .Values.db.userPassword }}'
41 passwordPolicy: required
42 - uid: db-admin-creds
43 type: basicAuth
44 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
45 login: '{{ .Values.db.adminName }}'
46 password: '{{ .Values.db.adminPassword }}'
47 passwordPolicy: required
AndrewLamb8e090442020-10-15 09:28:09 +010048
49#################################################################
50# Application configuration defaults.
51#################################################################
Lukasz Rajewskib6861242022-09-06 13:32:58 +020052image: onap/so/so-etsi-nfvo-ns-lcm:1.9.0
AndrewLamb8e090442020-10-15 09:28:09 +010053pullPolicy: Always
54
55aai:
56 auth: 2A11B07DB6214A839394AA1EC5844695F5114FC407FF5422625FB00175A3DCB8A1FF745F22867EFA72D5369D599BBD88DA8BED4233CF5586
rope2524d3f3682020-09-02 20:49:21 +010057db:
58 userName: so_user
59 userPassword: so_User123
60 # userCredsExternalSecret: some secret
61 adminName: so_admin
62 adminPassword: so_Admin123
63 # adminCredsExternalSecret: some secret
AndrewLamb8e090442020-10-15 09:28:09 +010064etsi:
65 nfvo:
66 nslcm:
67 username: so-etsi-nfvo-ns-lcm
68mso:
69 key: 07a7159d3bf51a0e53be7a8f89699be7
70so:
71 sol003:
72 adapter:
73 auth: Basic dm5mbTpwYXNzd29yZDEk
74
75replicaCount: 1
76minReadySeconds: 10
77containerPort: &containerPort 9095
78logPath: ./logs/so-etsi-nfvo-ns-lcm/
79app: so-etsi-nfvo-ns-lcm
80service:
81 type: ClusterIP
AndrewLamb8e090442020-10-15 09:28:09 +010082 annotations:
83 service.alpha.kubernetes.io/tolerate-unready-endpoints: 'true'
84 msb.onap.org/service-info: |
AndrewLamb92c2d392020-11-10 10:36:52 +000085 {{ if .Values.global.msbEnabled -}}[
AndrewLamb8e090442020-10-15 09:28:09 +010086 {
87 "serviceName": "{{ include "common.servicename" . }}",
88 "version": "v1",
89 "url": "/so/so-etsi-nfvo-ns-lcm/v1",
90 "protocol": "REST",
AndrewLamb92c2d392020-11-10 10:36:52 +000091 "port": "{{ include "common.getPort" (dict "global" . "name" "http-api") }}",
AndrewLamb8e090442020-10-15 09:28:09 +010092 "visualRange":"1"
93 }
94 ]{{ end }}
95 ports:
96 - name: http-api
97 port: *containerPort
98updateStrategy:
99 type: RollingUpdate
100 maxUnavailable: 1
101 maxSurge: 1
102
103#################################################################
104# soHelpers part
105#################################################################
106soHelpers:
AndrewLamb8e090442020-10-15 09:28:09 +0100107 containerPort: *containerPort
108
109# Resource Limit flavor -By Default using small
110flavor: small
111# Segregation for Different environment (Small and Large)
112resources:
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
129livenessProbe:
130 port: 9095
131 initialDelaySeconds: 600
132 periodSeconds: 60
133 timeoutSeconds: 10
134 successThreshold: 1
135 failureThreshold: 3
136
137ingress:
138 enabled: false
139 service:
Andreas Geissler51900a92022-08-03 13:10:35 +0200140 - baseaddr: 'so-etsi-nfvo-ns-lcm-api'
AndrewLamb8e090442020-10-15 09:28:09 +0100141 name: 'so-etsi-nfvo-ns-lcm'
142 port: 9095
143 config:
144 ssl: 'redirect'
145
146nodeSelector: {}
147
148tolerations: []
149
150affinity: {}
farida azmy87f46222021-04-06 15:25:15 +0200151
152#Pods Service Account
153serviceAccount:
154 nameOverride: so-etsi-nfvo-ns-lcm
155 roles:
156 - read