Merge "Revert "[SDNC] Change path to daexim directory"" into guilin
[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.11
64
65 pullPolicy: Always
66
67 aai:
68   auth: 2A11B07DB6214A839394AA1EC5844695F5114FC407FF5422625FB00175A3DCB8A1FF745F22867EFA72D5369D599BBD88DA8BED4233CF5586
69 db:
70   userName: so_user
71   userPassword: so_User123
72   # userCredsExternalSecret: some secret
73   adminName: so_admin
74   adminPassword: so_Admin123
75   # adminCredsExternalSecret: some secret
76 etsi:
77   nfvo:
78     nslcm:
79       username: so-etsi-nfvo-ns-lcm
80 mso:
81   key: 07a7159d3bf51a0e53be7a8f89699be7
82 so:
83   sol003:
84     adapter:
85       auth: Basic dm5mbTpwYXNzd29yZDEk
86
87 replicaCount: 1
88 minReadySeconds: 10
89 containerPort: &containerPort 9095
90 logPath: ./logs/so-etsi-nfvo-ns-lcm/
91 app: so-etsi-nfvo-ns-lcm
92 service:
93   type: ClusterIP
94   name: so-etsi-nfvo-ns-lcm
95   annotations:
96     service.alpha.kubernetes.io/tolerate-unready-endpoints: 'true'
97     msb.onap.org/service-info: |
98       {{ if .Values.global.msbEnabled -}}[
99         {
100           "serviceName": "{{ include "common.servicename" . }}",
101           "version": "v1",
102           "url": "/so/so-etsi-nfvo-ns-lcm/v1",
103           "protocol": "REST",
104           "port": "{{ include "common.getPort" (dict "global" . "name" "http-api") }}",
105           "visualRange":"1"
106         }
107       ]{{ end }}
108   ports:
109     - name: http-api
110       port: *containerPort
111 updateStrategy:
112   type: RollingUpdate
113   maxUnavailable: 1
114   maxSurge: 1
115
116 #################################################################
117 # soHelpers part
118 #################################################################
119 soHelpers:
120   nameOverride: so-nfvo-cert-init
121   certInitializer:
122     nameOverride: so-nfvo-cert-init
123     credsPath: /opt/app/osaaf/local
124   cadi:
125     apiEnforcement: org.onap.so.nfvoAdapterPerm
126   containerPort: *containerPort
127
128 # Resource Limit flavor -By Default using small
129 flavor: small
130 # Segregation for Different environment (Small and Large)
131 resources:
132   small:
133     limits:
134       memory: 4Gi
135       cpu: 2000m
136     requests:
137       memory: 1Gi
138       cpu: 500m
139   large:
140     limits:
141       memory: 8Gi
142       cpu: 4000m
143     requests:
144       memory: 2Gi
145       cpu: 1000m
146   unlimited: {}
147
148 livenessProbe:
149   port: 9095
150   initialDelaySeconds: 600
151   periodSeconds: 60
152   timeoutSeconds: 10
153   successThreshold: 1
154   failureThreshold: 3
155
156 ingress:
157   enabled: false
158   service:
159     - baseaddr: 'soetsinfvonslcm'
160       name: 'so-etsi-nfvo-ns-lcm'
161       port: 9095
162   config:
163     ssl: 'redirect'
164
165 nodeSelector: {}
166
167 tolerations: []
168
169 affinity: {}