blob: 753da870f08755123989a8a40a97794637536ca6 [file] [log] [blame]
jananib28734e02020-04-08 21:35:45 +05301# 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#################################################################
17global:
18 nodePortPrefix: 302
19 nodePortPrefixExt: 304
20 repository: nexus3.onap.org:10001
Sylvain Desbureaux1694e1d2020-08-21 09:58:25 +020021 readinessImage: onap/oom/readiness:3.0.1
seshukm0df1f8e2020-08-17 21:45:49 +053022 aafAgentImage: onap/aaf/aaf_agent:2.1.20
23 envsubstImage: dibi/envsubst
jananib28734e02020-04-08 21:35:45 +053024 persistence:
25 mountPath: /dockerdata-nfs
seshukm0df1f8e2020-08-17 21:45:49 +053026 security:
27 aaf:
28 enabled: false
29 aaf:
30 auth:
31 header: Basic c29Ac28ub25hcC5vcmc6ZGVtbzEyMzQ1Ngo=
krishnaa9692b606b2020-10-30 11:29:21 +053032 mariadbGalera:
33 serviceName: mariadb-galera
34 servicePort: '3306'
jananib28734e02020-04-08 21:35:45 +053035
Sylvain Desbureauxd055a172020-10-30 14:32:03 +010036readinessCheck:
37 wait_for:
38 - so-mariadb-config
39
40
jananib28734e02020-04-08 21:35:45 +053041#################################################################
42# Secrets metaconfig
43#################################################################
44secrets:
45 - uid: db-user-creds
46 name: '{{ include "common.release" . }}-so-bpmn-infra-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 name: '{{ include "common.release" . }}-so-bpmn-infra-db-admin-creds'
54 type: basicAuth
55 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
56 login: '{{ .Values.db.adminName }}'
57 password: '{{ .Values.db.adminPassword }}'
58 passwordPolicy: required
jananib28734e02020-04-08 21:35:45 +053059 - uid: server-bpel-creds
60 name: '{{ include "common.release" . }}-so-server-bpel-creds'
61 type: basicAuth
62 externalSecret: '{{ tpl (default "" .Values.server.bpelCredsExternalSecret) . }}'
63 login: '{{ .Values.server.bpel.username }}'
64 password: '{{ .Values.server.bpel.password }}'
65 passwordPolicy: required
66 - uid: server-actuator-creds
67 name: '{{ include "common.release" . }}-so-server-actuator-creds'
68 type: basicAuth
69 externalSecret: '{{ tpl (default "" .Values.server.actuatorCredsExternalSecret) . }}'
70 login: '{{ .Values.server.actuator.username }}'
71 password: '{{ .Values.server.actuator.password }}'
72 passwordPolicy: required
73
jananib28734e02020-04-08 21:35:45 +053074#secretsFilePaths: |
75# - 'my file 1'
76# - '{{ include "templateThatGeneratesFileName" . }}'
77
78#################################################################
79# Application configuration defaults.
80#################################################################
81repository: nexus3.onap.org:10001
seshukm40ec9fa2020-07-08 14:26:34 +053082image: onap/so/nssmf-adapter:1.6.4
jananib28734e02020-04-08 21:35:45 +053083pullPolicy: Always
84
85db:
86 userName: so_user
87 userPassword: so_User123
88 # userCredsExternalSecret: some secret
89 adminName: so_admin
90 adminPassword: so_Admin123
91 # adminCredsExternalSecret: some secret
92server:
93 actuator:
94 username: mso_admin
95 password: password1$
96 bpel:
97 username: bpel
98 password: password1$
seshukm0df1f8e2020-08-17 21:45:49 +053099aai:
100 auth: 2A11B07DB6214A839394AA1EC5844695F5114FC407FF5422625FB00175A3DCB8A1FF745F22867EFA72D5369D599BBD88DA8BED4233CF5586
101mso:
102 adapters:
103 requestDb:
104 auth: Basic YnBlbDpwYXNzd29yZDEk
jananib28734e02020-04-08 21:35:45 +0530105
106replicaCount: 1
107minReadySeconds: 10
seshukm0df1f8e2020-08-17 21:45:49 +0530108containerPort: &containerPort 8088
jananib28734e02020-04-08 21:35:45 +0530109logPath: ./logs/nssmf/
110app: nssmf-adapter
111service:
112 type: ClusterIP
113 ports:
114 - name: api
seshukm0df1f8e2020-08-17 21:45:49 +0530115 port: *containerPort
jananib28734e02020-04-08 21:35:45 +0530116updateStrategy:
117 type: RollingUpdate
118 maxUnavailable: 1
119 maxSurge: 1
seshukm0df1f8e2020-08-17 21:45:49 +0530120
121soHelpers:
122 nameOverride: so-nssmf-cert-init
123 certInitializer:
124 nameOverride: so-nssmf-cert-init
125 credsPath: /opt/app/osaaf/local
126 cadi:
127 apiEnforcement: org.onap.so.nssmfAdapterPerm
128 containerPort: *containerPort
129
jananib28734e02020-04-08 21:35:45 +0530130# Resource Limit flavor -By Default using small
131flavor: small
132# Segregation for Different environment (Small and Large)
133resources:
134 small:
135 limits:
136 memory: 4Gi
137 cpu: 2000m
138 requests:
139 memory: 1Gi
140 cpu: 500m
141 large:
142 limits:
143 memory: 8Gi
144 cpu: 4000m
145 requests:
146 memory: 2Gi
147 cpu: 1000m
148 unlimited: {}
149livenessProbe:
150 path: /manage/health
151 port: 8088
152 scheme: HTTP
153 initialDelaySeconds: 600
154 periodSeconds: 60
155 timeoutSeconds: 10
156 successThreshold: 1
157 failureThreshold: 3
158ingress:
159 enabled: false
160nodeSelector: {}
161tolerations: []
162affinity: {}