Merge "[SO] update the so-etsi-nfvo-ns-lcm version"
[oom.git] / kubernetes / so / components / so-etsi-nfvo-ns-lcm / values.yaml
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
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   mariadbGalera:
33     serviceName: mariadb-galera
34     servicePort: '3306'
35
36 #################################################################
37 # Secrets metaconfig
38 #################################################################
39 secrets:
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 }}'
46   - 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
58
59 #################################################################
60 # Application configuration defaults.
61 #################################################################
62 repository: nexus3.onap.org:10001
63 image: onap/so/so-etsi-nfvo-ns-lcm:1.7.7
64 pullPolicy: Always
65
66 aai:
67   auth: 2A11B07DB6214A839394AA1EC5844695F5114FC407FF5422625FB00175A3DCB8A1FF745F22867EFA72D5369D599BBD88DA8BED4233CF5586
68 db:
69   userName: so_user
70   userPassword: so_User123
71   # userCredsExternalSecret: some secret
72   adminName: so_admin
73   adminPassword: so_Admin123
74   # adminCredsExternalSecret: some secret
75 etsi:
76   nfvo:
77     nslcm:
78       username: so-etsi-nfvo-ns-lcm
79 mso:
80   key: 07a7159d3bf51a0e53be7a8f89699be7
81 so:
82   sol003:
83     adapter:
84       auth: Basic dm5mbTpwYXNzd29yZDEk
85
86 replicaCount: 1
87 minReadySeconds: 10
88 containerPort: &containerPort 9095
89 logPath: ./logs/so-etsi-nfvo-ns-lcm/
90 app: so-etsi-nfvo-ns-lcm
91 service:
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: |
97       {{ if not .Values.global.msbDisabled -}}[
98         {
99           "serviceName": "{{ include "common.servicename" . }}",
100           "version": "v1",
101           "url": "/so/so-etsi-nfvo-ns-lcm/v1",
102           "protocol": "REST",
103           "port": "{{ include "common.getPort" (dict "global" . "name" "nfvo-nslcm-port") }}",
104           "visualRange":"1"
105         }
106       ]{{ end }}
107   ports:
108     - name: http-api
109       port: *containerPort
110 updateStrategy:
111   type: RollingUpdate
112   maxUnavailable: 1
113   maxSurge: 1
114
115 #################################################################
116 # soHelpers part
117 #################################################################
118 soHelpers:
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
128 flavor: small
129 # Segregation for Different environment (Small and Large)
130 resources:
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
147 livenessProbe:
148   port: 9095
149   initialDelaySeconds: 600
150   periodSeconds: 60
151   timeoutSeconds: 10
152   successThreshold: 1
153   failureThreshold: 3
154
155 ingress:
156   enabled: false
157   service:
158     - baseaddr: 'soetsinfvonslcm'
159       name: 'so-etsi-nfvo-ns-lcm'
160       port: 9095
161   config:
162     ssl: 'redirect'
163
164 nodeSelector: {}
165
166 tolerations: []
167
168 affinity: {}