Merge "[SO] update the so-etsi-nfvo-ns-lcm version"
[oom.git] / kubernetes / so / components / so-nssmf-adapter / values.yaml
1 # Copyright © 2020 Huawei Technologies Co., Ltd.
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 # Global configuration defaults.
16 #################################################################
17 global:
18   nodePortPrefix: 302
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: db-user-creds
41     name: '{{ include "common.release" . }}-so-bpmn-infra-db-user-creds'
42     type: basicAuth
43     externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
44     login: '{{ .Values.db.userName }}'
45     password: '{{ .Values.db.userPassword }}'
46     passwordPolicy: required
47   - uid: db-admin-creds
48     name: '{{ include "common.release" . }}-so-bpmn-infra-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
54   - uid: server-bpel-creds
55     name: '{{ include "common.release" . }}-so-server-bpel-creds'
56     type: basicAuth
57     externalSecret: '{{ tpl (default "" .Values.server.bpelCredsExternalSecret) . }}'
58     login: '{{ .Values.server.bpel.username }}'
59     password: '{{ .Values.server.bpel.password }}'
60     passwordPolicy: required
61   - uid: server-actuator-creds
62     name: '{{ include "common.release" . }}-so-server-actuator-creds'
63     type: basicAuth
64     externalSecret: '{{ tpl (default "" .Values.server.actuatorCredsExternalSecret) . }}'
65     login: '{{ .Values.server.actuator.username }}'
66     password: '{{ .Values.server.actuator.password }}'
67     passwordPolicy: required
68
69 #secretsFilePaths: |
70 #  - 'my file 1'
71 #  - '{{ include "templateThatGeneratesFileName" . }}'
72
73 #################################################################
74 # Application configuration defaults.
75 #################################################################
76 repository: nexus3.onap.org:10001
77 image: onap/so/nssmf-adapter:1.6.4
78 pullPolicy: Always
79
80 db:
81   userName: so_user
82   userPassword: so_User123
83   # userCredsExternalSecret: some secret
84   adminName: so_admin
85   adminPassword: so_Admin123
86   # adminCredsExternalSecret: some secret
87 server:
88   actuator:
89     username: mso_admin
90     password: password1$
91   bpel:
92     username: bpel
93     password: password1$
94 aai:
95   auth: 2A11B07DB6214A839394AA1EC5844695F5114FC407FF5422625FB00175A3DCB8A1FF745F22867EFA72D5369D599BBD88DA8BED4233CF5586
96 mso:
97   adapters:
98     requestDb:
99       auth: Basic YnBlbDpwYXNzd29yZDEk
100
101 replicaCount: 1
102 minReadySeconds: 10
103 containerPort: &containerPort 8088
104 logPath: ./logs/nssmf/
105 app: nssmf-adapter
106 service:
107   type: ClusterIP
108   ports:
109     - name: api
110       port: *containerPort
111 updateStrategy:
112     type: RollingUpdate
113     maxUnavailable: 1
114     maxSurge: 1
115
116 soHelpers:
117   nameOverride: so-nssmf-cert-init
118   certInitializer:
119     nameOverride: so-nssmf-cert-init
120     credsPath: /opt/app/osaaf/local
121   cadi:
122     apiEnforcement: org.onap.so.nssmfAdapterPerm
123   containerPort: *containerPort
124
125 # Resource Limit flavor -By Default using small
126 flavor: small
127 # Segregation for Different environment (Small and Large)
128 resources:
129   small:
130     limits:
131       memory: 4Gi
132       cpu: 2000m
133     requests:
134       memory: 1Gi
135       cpu: 500m
136   large:
137     limits:
138       memory: 8Gi
139       cpu: 4000m
140     requests:
141       memory: 2Gi
142       cpu: 1000m
143   unlimited: {}
144 livenessProbe:
145     path: /manage/health
146     port: 8088
147     scheme: HTTP
148     initialDelaySeconds: 600
149     periodSeconds: 60
150     timeoutSeconds: 10
151     successThreshold: 1
152     failureThreshold: 3
153 ingress:
154   enabled: false
155 nodeSelector: {}
156 tolerations: []
157 affinity: {}