blob: a7fad4de1850bbc11608e15734b980ad1a7a09a9 [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
22 security:
23 aaf:
24 enabled: false
25 aaf:
26 auth:
27 header: Basic c29Ac28ub25hcC5vcmc6ZGVtbzEyMzQ1Ngo=
krishnaa9692b606b2020-10-30 11:29:21 +053028 mariadbGalera:
29 serviceName: mariadb-galera
30 servicePort: '3306'
AndrewLamb8e090442020-10-15 09:28:09 +010031
32#################################################################
33# Secrets metaconfig
34#################################################################
35secrets:
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 }}'
rope2524d3f3682020-09-02 20:49:21 +010042 - 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
AndrewLamb8e090442020-10-15 09:28:09 +010054
55#################################################################
56# Application configuration defaults.
57#################################################################
deen1985b958d7d2020-12-28 11:56:52 +010058image: onap/so/so-etsi-nfvo-ns-lcm:1.7.11
AndrewLamb8e090442020-10-15 09:28:09 +010059pullPolicy: Always
60
61aai:
62 auth: 2A11B07DB6214A839394AA1EC5844695F5114FC407FF5422625FB00175A3DCB8A1FF745F22867EFA72D5369D599BBD88DA8BED4233CF5586
rope2524d3f3682020-09-02 20:49:21 +010063db:
64 userName: so_user
65 userPassword: so_User123
66 # userCredsExternalSecret: some secret
67 adminName: so_admin
68 adminPassword: so_Admin123
69 # adminCredsExternalSecret: some secret
AndrewLamb8e090442020-10-15 09:28:09 +010070etsi:
71 nfvo:
72 nslcm:
73 username: so-etsi-nfvo-ns-lcm
74mso:
75 key: 07a7159d3bf51a0e53be7a8f89699be7
76so:
77 sol003:
78 adapter:
79 auth: Basic dm5mbTpwYXNzd29yZDEk
80
81replicaCount: 1
82minReadySeconds: 10
83containerPort: &containerPort 9095
84logPath: ./logs/so-etsi-nfvo-ns-lcm/
85app: so-etsi-nfvo-ns-lcm
86service:
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: |
AndrewLamb92c2d392020-11-10 10:36:52 +000092 {{ if .Values.global.msbEnabled -}}[
AndrewLamb8e090442020-10-15 09:28:09 +010093 {
94 "serviceName": "{{ include "common.servicename" . }}",
95 "version": "v1",
96 "url": "/so/so-etsi-nfvo-ns-lcm/v1",
97 "protocol": "REST",
AndrewLamb92c2d392020-11-10 10:36:52 +000098 "port": "{{ include "common.getPort" (dict "global" . "name" "http-api") }}",
AndrewLamb8e090442020-10-15 09:28:09 +010099 "visualRange":"1"
100 }
101 ]{{ end }}
102 ports:
103 - name: http-api
104 port: *containerPort
105updateStrategy:
106 type: RollingUpdate
107 maxUnavailable: 1
108 maxSurge: 1
109
110#################################################################
111# soHelpers part
112#################################################################
113soHelpers:
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
123flavor: small
124# Segregation for Different environment (Small and Large)
125resources:
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
142livenessProbe:
143 port: 9095
144 initialDelaySeconds: 600
145 periodSeconds: 60
146 timeoutSeconds: 10
147 successThreshold: 1
148 failureThreshold: 3
149
150ingress:
151 enabled: false
152 service:
153 - baseaddr: 'soetsinfvonslcm'
154 name: 'so-etsi-nfvo-ns-lcm'
155 port: 9095
156 config:
157 ssl: 'redirect'
158
159nodeSelector: {}
160
161tolerations: []
162
163affinity: {}