[SO] Add helm chart for SO-ETSI-NFVO-NS-LCM
[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
33 #################################################################
34 # Secrets metaconfig
35 #################################################################
36 secrets:
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 }}'
43
44 #################################################################
45 # Application configuration defaults.
46 #################################################################
47 repository: nexus3.onap.org:10001
48 image: onap/so/so-etsi-nfvo-ns-lcm:1.7.4
49 pullPolicy: Always
50
51 aai:
52   auth: 2A11B07DB6214A839394AA1EC5844695F5114FC407FF5422625FB00175A3DCB8A1FF745F22867EFA72D5369D599BBD88DA8BED4233CF5586
53 etsi:
54   nfvo:
55     nslcm:
56       username: so-etsi-nfvo-ns-lcm
57 mso:
58   key: 07a7159d3bf51a0e53be7a8f89699be7
59 so:
60   sol003:
61     adapter:
62       auth: Basic dm5mbTpwYXNzd29yZDEk
63
64 replicaCount: 1
65 minReadySeconds: 10
66 containerPort: &containerPort 9095
67 logPath: ./logs/so-etsi-nfvo-ns-lcm/
68 app: so-etsi-nfvo-ns-lcm
69 service:
70   type: ClusterIP
71   name: so-etsi-nfvo-ns-lcm
72   annotations:
73     service.alpha.kubernetes.io/tolerate-unready-endpoints: 'true'
74     msb.onap.org/service-info: |
75       {{ if not .Values.global.msbDisabled -}}[
76         {
77           "serviceName": "{{ include "common.servicename" . }}",
78           "version": "v1",
79           "url": "/so/so-etsi-nfvo-ns-lcm/v1",
80           "protocol": "REST",
81           "port": "{{ include "common.getPort" (dict "global" . "name" "nfvo-nslcm-port") }}",
82           "visualRange":"1"
83         }
84       ]{{ end }}
85   ports:
86     - name: http-api
87       port: *containerPort
88 updateStrategy:
89   type: RollingUpdate
90   maxUnavailable: 1
91   maxSurge: 1
92
93 #################################################################
94 # soHelpers part
95 #################################################################
96 soHelpers:
97   nameOverride: so-nfvo-cert-init
98   certInitializer:
99     nameOverride: so-nfvo-cert-init
100     credsPath: /opt/app/osaaf/local
101   cadi:
102     apiEnforcement: org.onap.so.nfvoAdapterPerm
103   containerPort: *containerPort
104
105 # Resource Limit flavor -By Default using small
106 flavor: small
107 # Segregation for Different environment (Small and Large)
108 resources:
109   small:
110     limits:
111       memory: 4Gi
112       cpu: 2000m
113     requests:
114       memory: 1Gi
115       cpu: 500m
116   large:
117     limits:
118       memory: 8Gi
119       cpu: 4000m
120     requests:
121       memory: 2Gi
122       cpu: 1000m
123   unlimited: {}
124
125 livenessProbe:
126   port: 9095
127   initialDelaySeconds: 600
128   periodSeconds: 60
129   timeoutSeconds: 10
130   successThreshold: 1
131   failureThreshold: 3
132
133 ingress:
134   enabled: false
135   service:
136     - baseaddr: 'soetsinfvonslcm'
137       name: 'so-etsi-nfvo-ns-lcm'
138       port: 9095
139   config:
140     ssl: 'redirect'
141
142 nodeSelector: {}
143
144 tolerations: []
145
146 affinity: {}