blob: 5c286d60d2da4d21911bf8365ab4104b70f42584 [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
36#################################################################
37# Secrets metaconfig
38#################################################################
39secrets:
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
jananib28734e02020-04-08 21:35:45 +053054 - 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
jananib28734e02020-04-08 21:35:45 +053069#secretsFilePaths: |
70# - 'my file 1'
71# - '{{ include "templateThatGeneratesFileName" . }}'
72
73#################################################################
74# Application configuration defaults.
75#################################################################
76repository: nexus3.onap.org:10001
seshukm4c285fc2020-10-16 15:45:14 +053077image: onap/so/nssmf-adapter:1.7.9
jananib28734e02020-04-08 21:35:45 +053078pullPolicy: Always
79
80db:
81 userName: so_user
82 userPassword: so_User123
83 # userCredsExternalSecret: some secret
84 adminName: so_admin
85 adminPassword: so_Admin123
86 # adminCredsExternalSecret: some secret
87server:
88 actuator:
89 username: mso_admin
90 password: password1$
91 bpel:
92 username: bpel
93 password: password1$
seshukm0df1f8e2020-08-17 21:45:49 +053094aai:
95 auth: 2A11B07DB6214A839394AA1EC5844695F5114FC407FF5422625FB00175A3DCB8A1FF745F22867EFA72D5369D599BBD88DA8BED4233CF5586
96mso:
97 adapters:
98 requestDb:
99 auth: Basic YnBlbDpwYXNzd29yZDEk
jananib28734e02020-04-08 21:35:45 +0530100
101replicaCount: 1
102minReadySeconds: 10
seshukm0df1f8e2020-08-17 21:45:49 +0530103containerPort: &containerPort 8088
jananib28734e02020-04-08 21:35:45 +0530104logPath: ./logs/nssmf/
105app: nssmf-adapter
106service:
107 type: ClusterIP
108 ports:
109 - name: api
seshukm0df1f8e2020-08-17 21:45:49 +0530110 port: *containerPort
jananib28734e02020-04-08 21:35:45 +0530111updateStrategy:
112 type: RollingUpdate
113 maxUnavailable: 1
114 maxSurge: 1
seshukm0df1f8e2020-08-17 21:45:49 +0530115
116soHelpers:
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
jananib28734e02020-04-08 21:35:45 +0530125# Resource Limit flavor -By Default using small
126flavor: small
127# Segregation for Different environment (Small and Large)
128resources:
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: {}
144livenessProbe:
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
153ingress:
154 enabled: false
155nodeSelector: {}
156tolerations: []
157affinity: {}