blob: 6af61820dbca466ca937e8d97e19e5653e50640f [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=
32
33#################################################################
34# Secrets metaconfig
35#################################################################
36secrets:
37 - uid: etsi-nfvo-nslcm-creds
38 name: '{{ include "common.release" . }}-so-etsi-nfvo-nslcm-creds'
39 type: basicAuth
40 externalSecret: '{{ tpl (default "" .Values.etsi.nfvo.nslcm.credsExternalSecret) . }}'
41 login: '{{ .Values.etsi.nfvo.nslcm.username }}'
42 password: '{{ .Values.etsi.nfvo.nslcm.password }}'
rope2524d3f3682020-09-02 20:49:21 +010043 - 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
AndrewLamb8e090442020-10-15 09:28:09 +010055
56#################################################################
57# Application configuration defaults.
58#################################################################
59repository: nexus3.onap.org:10001
60image: onap/so/so-etsi-nfvo-ns-lcm:1.7.4
61pullPolicy: Always
62
63aai:
64 auth: 2A11B07DB6214A839394AA1EC5844695F5114FC407FF5422625FB00175A3DCB8A1FF745F22867EFA72D5369D599BBD88DA8BED4233CF5586
rope2524d3f3682020-09-02 20:49:21 +010065db:
66 userName: so_user
67 userPassword: so_User123
68 # userCredsExternalSecret: some secret
69 adminName: so_admin
70 adminPassword: so_Admin123
71 # adminCredsExternalSecret: some secret
AndrewLamb8e090442020-10-15 09:28:09 +010072etsi:
73 nfvo:
74 nslcm:
75 username: so-etsi-nfvo-ns-lcm
76mso:
77 key: 07a7159d3bf51a0e53be7a8f89699be7
78so:
79 sol003:
80 adapter:
81 auth: Basic dm5mbTpwYXNzd29yZDEk
82
83replicaCount: 1
84minReadySeconds: 10
85containerPort: &containerPort 9095
86logPath: ./logs/so-etsi-nfvo-ns-lcm/
87app: so-etsi-nfvo-ns-lcm
88service:
89 type: ClusterIP
90 name: so-etsi-nfvo-ns-lcm
91 annotations:
92 service.alpha.kubernetes.io/tolerate-unready-endpoints: 'true'
93 msb.onap.org/service-info: |
94 {{ if not .Values.global.msbDisabled -}}[
95 {
96 "serviceName": "{{ include "common.servicename" . }}",
97 "version": "v1",
98 "url": "/so/so-etsi-nfvo-ns-lcm/v1",
99 "protocol": "REST",
100 "port": "{{ include "common.getPort" (dict "global" . "name" "nfvo-nslcm-port") }}",
101 "visualRange":"1"
102 }
103 ]{{ end }}
104 ports:
105 - name: http-api
106 port: *containerPort
107updateStrategy:
108 type: RollingUpdate
109 maxUnavailable: 1
110 maxSurge: 1
111
112#################################################################
113# soHelpers part
114#################################################################
115soHelpers:
116 nameOverride: so-nfvo-cert-init
117 certInitializer:
118 nameOverride: so-nfvo-cert-init
119 credsPath: /opt/app/osaaf/local
120 cadi:
121 apiEnforcement: org.onap.so.nfvoAdapterPerm
122 containerPort: *containerPort
123
124# Resource Limit flavor -By Default using small
125flavor: small
126# Segregation for Different environment (Small and Large)
127resources:
128 small:
129 limits:
130 memory: 4Gi
131 cpu: 2000m
132 requests:
133 memory: 1Gi
134 cpu: 500m
135 large:
136 limits:
137 memory: 8Gi
138 cpu: 4000m
139 requests:
140 memory: 2Gi
141 cpu: 1000m
142 unlimited: {}
143
144livenessProbe:
145 port: 9095
146 initialDelaySeconds: 600
147 periodSeconds: 60
148 timeoutSeconds: 10
149 successThreshold: 1
150 failureThreshold: 3
151
152ingress:
153 enabled: false
154 service:
155 - baseaddr: 'soetsinfvonslcm'
156 name: 'so-etsi-nfvo-ns-lcm'
157 port: 9095
158 config:
159 ssl: 'redirect'
160
161nodeSelector: {}
162
163tolerations: []
164
165affinity: {}