blob: 3bfe1b212f7fe426e4c58f76a0a40ae332769471 [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=
jananib28734e02020-04-08 21:35:45 +053032
33#################################################################
34# Secrets metaconfig
35#################################################################
36secrets:
37 - uid: db-user-creds
38 name: '{{ include "common.release" . }}-so-bpmn-infra-db-user-creds'
39 type: basicAuth
40 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
41 login: '{{ .Values.db.userName }}'
42 password: '{{ .Values.db.userPassword }}'
43 passwordPolicy: required
44 - uid: db-admin-creds
45 name: '{{ include "common.release" . }}-so-bpmn-infra-db-admin-creds'
46 type: basicAuth
47 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
48 login: '{{ .Values.db.adminName }}'
49 password: '{{ .Values.db.adminPassword }}'
50 passwordPolicy: required
jananib28734e02020-04-08 21:35:45 +053051 - uid: server-bpel-creds
52 name: '{{ include "common.release" . }}-so-server-bpel-creds'
53 type: basicAuth
54 externalSecret: '{{ tpl (default "" .Values.server.bpelCredsExternalSecret) . }}'
55 login: '{{ .Values.server.bpel.username }}'
56 password: '{{ .Values.server.bpel.password }}'
57 passwordPolicy: required
58 - uid: server-actuator-creds
59 name: '{{ include "common.release" . }}-so-server-actuator-creds'
60 type: basicAuth
61 externalSecret: '{{ tpl (default "" .Values.server.actuatorCredsExternalSecret) . }}'
62 login: '{{ .Values.server.actuator.username }}'
63 password: '{{ .Values.server.actuator.password }}'
64 passwordPolicy: required
65
jananib28734e02020-04-08 21:35:45 +053066#secretsFilePaths: |
67# - 'my file 1'
68# - '{{ include "templateThatGeneratesFileName" . }}'
69
70#################################################################
71# Application configuration defaults.
72#################################################################
73repository: nexus3.onap.org:10001
seshukm40ec9fa2020-07-08 14:26:34 +053074image: onap/so/nssmf-adapter:1.6.4
jananib28734e02020-04-08 21:35:45 +053075pullPolicy: Always
76
77db:
78 userName: so_user
79 userPassword: so_User123
80 # userCredsExternalSecret: some secret
81 adminName: so_admin
82 adminPassword: so_Admin123
83 # adminCredsExternalSecret: some secret
84server:
85 actuator:
86 username: mso_admin
87 password: password1$
88 bpel:
89 username: bpel
90 password: password1$
seshukm0df1f8e2020-08-17 21:45:49 +053091aai:
92 auth: 2A11B07DB6214A839394AA1EC5844695F5114FC407FF5422625FB00175A3DCB8A1FF745F22867EFA72D5369D599BBD88DA8BED4233CF5586
93mso:
94 adapters:
95 requestDb:
96 auth: Basic YnBlbDpwYXNzd29yZDEk
jananib28734e02020-04-08 21:35:45 +053097
98replicaCount: 1
99minReadySeconds: 10
seshukm0df1f8e2020-08-17 21:45:49 +0530100containerPort: &containerPort 8088
jananib28734e02020-04-08 21:35:45 +0530101logPath: ./logs/nssmf/
102app: nssmf-adapter
103service:
104 type: ClusterIP
105 ports:
106 - name: api
seshukm0df1f8e2020-08-17 21:45:49 +0530107 port: *containerPort
jananib28734e02020-04-08 21:35:45 +0530108updateStrategy:
109 type: RollingUpdate
110 maxUnavailable: 1
111 maxSurge: 1
seshukm0df1f8e2020-08-17 21:45:49 +0530112
113soHelpers:
114 nameOverride: so-nssmf-cert-init
115 certInitializer:
116 nameOverride: so-nssmf-cert-init
117 credsPath: /opt/app/osaaf/local
118 cadi:
119 apiEnforcement: org.onap.so.nssmfAdapterPerm
120 containerPort: *containerPort
121
jananib28734e02020-04-08 21:35:45 +0530122# Resource Limit flavor -By Default using small
123flavor: small
124# Segregation for Different environment (Small and Large)
125resources:
126 small:
127 limits:
128 memory: 4Gi
129 cpu: 2000m
130 requests:
131 memory: 1Gi
132 cpu: 500m
133 large:
134 limits:
135 memory: 8Gi
136 cpu: 4000m
137 requests:
138 memory: 2Gi
139 cpu: 1000m
140 unlimited: {}
141livenessProbe:
142 path: /manage/health
143 port: 8088
144 scheme: HTTP
145 initialDelaySeconds: 600
146 periodSeconds: 60
147 timeoutSeconds: 10
148 successThreshold: 1
149 failureThreshold: 3
150ingress:
151 enabled: false
152nodeSelector: {}
153tolerations: []
154affinity: {}