blob: 0612f506c5e461c4dca28113f46d8383ede51dc3 [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
20 repository: nexus3.onap.org:10001
21 readinessImage: onap/oom/readiness:3.0.1
22 aafAgentImage: onap/aaf/aaf_agent:2.1.20
23 envsubstImage: dibi/envsubst
24 persistence:
25 mountPath: /dockerdata-nfs
26 security:
27 aaf:
28 enabled: false
29 aaf:
30 auth:
31 header: Basic c29Ac28ub25hcC5vcmc6ZGVtbzEyMzQ1Ngo=
krishnaa9692b606b2020-10-30 11:29:21 +053032 mariadbGalera:
33 serviceName: mariadb-galera
34 servicePort: '3306'
AndrewLamb8e090442020-10-15 09:28:09 +010035
36#################################################################
37# Secrets metaconfig
38#################################################################
39secrets:
40 - uid: etsi-nfvo-nslcm-creds
41 name: '{{ include "common.release" . }}-so-etsi-nfvo-nslcm-creds'
42 type: basicAuth
43 externalSecret: '{{ tpl (default "" .Values.etsi.nfvo.nslcm.credsExternalSecret) . }}'
44 login: '{{ .Values.etsi.nfvo.nslcm.username }}'
45 password: '{{ .Values.etsi.nfvo.nslcm.password }}'
rope2524d3f3682020-09-02 20:49:21 +010046 - uid: db-user-creds
47 type: basicAuth
48 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
49 login: '{{ .Values.db.userName }}'
50 password: '{{ .Values.db.userPassword }}'
51 passwordPolicy: required
52 - uid: db-admin-creds
53 type: basicAuth
54 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
55 login: '{{ .Values.db.adminName }}'
56 password: '{{ .Values.db.adminPassword }}'
57 passwordPolicy: required
AndrewLamb8e090442020-10-15 09:28:09 +010058
59#################################################################
60# Application configuration defaults.
61#################################################################
62repository: nexus3.onap.org:10001
seshukm76372182020-11-02 17:13:01 +053063image: onap/so/so-etsi-nfvo-ns-lcm:1.7.7
AndrewLamb8e090442020-10-15 09:28:09 +010064pullPolicy: Always
65
66aai:
67 auth: 2A11B07DB6214A839394AA1EC5844695F5114FC407FF5422625FB00175A3DCB8A1FF745F22867EFA72D5369D599BBD88DA8BED4233CF5586
rope2524d3f3682020-09-02 20:49:21 +010068db:
69 userName: so_user
70 userPassword: so_User123
71 # userCredsExternalSecret: some secret
72 adminName: so_admin
73 adminPassword: so_Admin123
74 # adminCredsExternalSecret: some secret
AndrewLamb8e090442020-10-15 09:28:09 +010075etsi:
76 nfvo:
77 nslcm:
78 username: so-etsi-nfvo-ns-lcm
79mso:
80 key: 07a7159d3bf51a0e53be7a8f89699be7
81so:
82 sol003:
83 adapter:
84 auth: Basic dm5mbTpwYXNzd29yZDEk
85
86replicaCount: 1
87minReadySeconds: 10
88containerPort: &containerPort 9095
89logPath: ./logs/so-etsi-nfvo-ns-lcm/
90app: so-etsi-nfvo-ns-lcm
91service:
92 type: ClusterIP
93 name: so-etsi-nfvo-ns-lcm
94 annotations:
95 service.alpha.kubernetes.io/tolerate-unready-endpoints: 'true'
96 msb.onap.org/service-info: |
AndrewLamb92c2d392020-11-10 10:36:52 +000097 {{ if .Values.global.msbEnabled -}}[
AndrewLamb8e090442020-10-15 09:28:09 +010098 {
99 "serviceName": "{{ include "common.servicename" . }}",
100 "version": "v1",
101 "url": "/so/so-etsi-nfvo-ns-lcm/v1",
102 "protocol": "REST",
AndrewLamb92c2d392020-11-10 10:36:52 +0000103 "port": "{{ include "common.getPort" (dict "global" . "name" "http-api") }}",
AndrewLamb8e090442020-10-15 09:28:09 +0100104 "visualRange":"1"
105 }
106 ]{{ end }}
107 ports:
108 - name: http-api
109 port: *containerPort
110updateStrategy:
111 type: RollingUpdate
112 maxUnavailable: 1
113 maxSurge: 1
114
115#################################################################
116# soHelpers part
117#################################################################
118soHelpers:
119 nameOverride: so-nfvo-cert-init
120 certInitializer:
121 nameOverride: so-nfvo-cert-init
122 credsPath: /opt/app/osaaf/local
123 cadi:
124 apiEnforcement: org.onap.so.nfvoAdapterPerm
125 containerPort: *containerPort
126
127# Resource Limit flavor -By Default using small
128flavor: small
129# Segregation for Different environment (Small and Large)
130resources:
131 small:
132 limits:
133 memory: 4Gi
134 cpu: 2000m
135 requests:
136 memory: 1Gi
137 cpu: 500m
138 large:
139 limits:
140 memory: 8Gi
141 cpu: 4000m
142 requests:
143 memory: 2Gi
144 cpu: 1000m
145 unlimited: {}
146
147livenessProbe:
148 port: 9095
149 initialDelaySeconds: 600
150 periodSeconds: 60
151 timeoutSeconds: 10
152 successThreshold: 1
153 failureThreshold: 3
154
155ingress:
156 enabled: false
157 service:
158 - baseaddr: 'soetsinfvonslcm'
159 name: 'so-etsi-nfvo-ns-lcm'
160 port: 9095
161 config:
162 ssl: 'redirect'
163
164nodeSelector: {}
165
166tolerations: []
167
168affinity: {}