blob: 29f9f4e24d035c0b3fab960ec63ac12ce451ed34 [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
jananib28734e02020-04-08 21:35:45 +053020 persistence:
21 mountPath: /dockerdata-nfs
seshukm0df1f8e2020-08-17 21:45:49 +053022 security:
23 aaf:
24 enabled: false
25 aaf:
26 auth:
27 header: Basic c29Ac28ub25hcC5vcmc6ZGVtbzEyMzQ1Ngo=
krishnaa9692b606b2020-10-30 11:29:21 +053028 mariadbGalera:
29 serviceName: mariadb-galera
30 servicePort: '3306'
jananib28734e02020-04-08 21:35:45 +053031
Sylvain Desbureauxd055a172020-10-30 14:32:03 +010032readinessCheck:
33 wait_for:
Prabhjot Singh Sethi46e17562021-08-20 22:40:23 +053034 jobs:
35 - '{{ include "common.release" . }}-so-mariadb-config-job'
Sylvain Desbureauxd055a172020-10-30 14:32:03 +010036
37
jananib28734e02020-04-08 21:35:45 +053038#################################################################
39# Secrets metaconfig
40#################################################################
41secrets:
42 - uid: db-user-creds
43 name: '{{ include "common.release" . }}-so-bpmn-infra-db-user-creds'
44 type: basicAuth
45 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
46 login: '{{ .Values.db.userName }}'
47 password: '{{ .Values.db.userPassword }}'
48 passwordPolicy: required
49 - uid: db-admin-creds
50 name: '{{ include "common.release" . }}-so-bpmn-infra-db-admin-creds'
51 type: basicAuth
52 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
53 login: '{{ .Values.db.adminName }}'
54 password: '{{ .Values.db.adminPassword }}'
55 passwordPolicy: required
jananib28734e02020-04-08 21:35:45 +053056 - uid: server-bpel-creds
57 name: '{{ include "common.release" . }}-so-server-bpel-creds'
58 type: basicAuth
59 externalSecret: '{{ tpl (default "" .Values.server.bpelCredsExternalSecret) . }}'
60 login: '{{ .Values.server.bpel.username }}'
61 password: '{{ .Values.server.bpel.password }}'
62 passwordPolicy: required
63 - uid: server-actuator-creds
64 name: '{{ include "common.release" . }}-so-server-actuator-creds'
65 type: basicAuth
66 externalSecret: '{{ tpl (default "" .Values.server.actuatorCredsExternalSecret) . }}'
67 login: '{{ .Values.server.actuator.username }}'
68 password: '{{ .Values.server.actuator.password }}'
69 passwordPolicy: required
70
jananib28734e02020-04-08 21:35:45 +053071#secretsFilePaths: |
72# - 'my file 1'
73# - '{{ include "templateThatGeneratesFileName" . }}'
74
75#################################################################
76# Application configuration defaults.
77#################################################################
seshukm5c4f6ac2021-10-18 14:12:55 +053078image: onap/so/so-nssmf-adapter:1.9.1
jananib28734e02020-04-08 21:35:45 +053079pullPolicy: Always
80
81db:
82 userName: so_user
83 userPassword: so_User123
84 # userCredsExternalSecret: some secret
85 adminName: so_admin
86 adminPassword: so_Admin123
87 # adminCredsExternalSecret: some secret
88server:
89 actuator:
90 username: mso_admin
91 password: password1$
92 bpel:
93 username: bpel
94 password: password1$
seshukm0df1f8e2020-08-17 21:45:49 +053095aai:
96 auth: 2A11B07DB6214A839394AA1EC5844695F5114FC407FF5422625FB00175A3DCB8A1FF745F22867EFA72D5369D599BBD88DA8BED4233CF5586
97mso:
98 adapters:
99 requestDb:
100 auth: Basic YnBlbDpwYXNzd29yZDEk
jananib28734e02020-04-08 21:35:45 +0530101
102replicaCount: 1
103minReadySeconds: 10
seshukm0df1f8e2020-08-17 21:45:49 +0530104containerPort: &containerPort 8088
seshukm65ba2142021-04-01 21:59:10 +0530105logPath: ./logs/nssmf-adapter/
jananib28734e02020-04-08 21:35:45 +0530106app: nssmf-adapter
107service:
108 type: ClusterIP
109 ports:
Andreas Geissler17be9622022-04-29 13:33:02 +0200110 - name: http
seshukm0df1f8e2020-08-17 21:45:49 +0530111 port: *containerPort
jananib28734e02020-04-08 21:35:45 +0530112updateStrategy:
113 type: RollingUpdate
114 maxUnavailable: 1
115 maxSurge: 1
seshukm0df1f8e2020-08-17 21:45:49 +0530116
117soHelpers:
118 nameOverride: so-nssmf-cert-init
119 certInitializer:
120 nameOverride: so-nssmf-cert-init
121 credsPath: /opt/app/osaaf/local
122 cadi:
123 apiEnforcement: org.onap.so.nssmfAdapterPerm
124 containerPort: *containerPort
125
jananib28734e02020-04-08 21:35:45 +0530126# Resource Limit flavor -By Default using small
127flavor: small
128# Segregation for Different environment (Small and Large)
129resources:
130 small:
131 limits:
132 memory: 4Gi
133 cpu: 2000m
134 requests:
135 memory: 1Gi
136 cpu: 500m
137 large:
138 limits:
139 memory: 8Gi
140 cpu: 4000m
141 requests:
142 memory: 2Gi
143 cpu: 1000m
144 unlimited: {}
145livenessProbe:
146 path: /manage/health
147 port: 8088
148 scheme: HTTP
149 initialDelaySeconds: 600
150 periodSeconds: 60
151 timeoutSeconds: 10
152 successThreshold: 1
153 failureThreshold: 3
154ingress:
155 enabled: false
156nodeSelector: {}
157tolerations: []
158affinity: {}
farida azmy87f46222021-04-06 15:25:15 +0200159
160#Pods Service Account
161serviceAccount:
162 nameOverride: so-nssmf-adapter
163 roles:
164 - read