blob: b27c7e051f0300bcb72bd5f9317ab6fb94a73135 [file] [log] [blame]
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +00001# Copyright © 2018 AT&T USA
seshukm0df1f8e2020-08-17 21:45:49 +05302# Copyright © 2020 Huawei
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +00003# 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.
jmacc4f04d32018-10-12 18:24:24 +000014#################################################################
15# Global configuration defaults.
16#################################################################
17global:
18 nodePortPrefix: 302
19 nodePortPrefixExt: 304
jmacc4f04d32018-10-12 18:24:24 +000020 persistence:
21 mountPath: /dockerdata-nfs
Konrad Bańka7bde1d62020-04-01 16:09:11 +020022 #This configuration specifies Service and port for SDNC OAM interface
23 sdncOamService: sdnc-oam
24 sdncOamPort: 8282
seshukm0df1f8e2020-08-17 21:45:49 +053025 security:
26 aaf:
27 enabled: false
28 aaf:
29 auth:
30 header: Basic c29Ac28ub25hcC5vcmc6ZGVtbzEyMzQ1Ngo=
krishnaa9692b606b2020-10-30 11:29:21 +053031 mariadbGalera:
32 serviceName: mariadb-galera
33 servicePort: '3306'
jmacc4f04d32018-10-12 18:24:24 +000034
35#################################################################
Krzysztof Opasiak57431412020-03-24 23:18:49 +010036# Secrets metaconfig
37#################################################################
38secrets:
39 - uid: db-user-creds
40 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010041 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
Krzysztof Opasiak57431412020-03-24 23:18:49 +010042 login: '{{ .Values.db.userName }}'
43 password: '{{ .Values.db.userPassword }}'
44 passwordPolicy: required
45 - uid: db-admin-creds
46 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010047 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
Krzysztof Opasiak57431412020-03-24 23:18:49 +010048 login: '{{ .Values.db.adminName }}'
49 password: '{{ .Values.db.adminPassword }}'
50 passwordPolicy: required
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010051
52#secretsFilePaths: |
53# - 'my file 1'
54# - '{{ include "templateThatGeneratesFileName" . }}'
Krzysztof Opasiak57431412020-03-24 23:18:49 +010055
56#################################################################
jmacc4f04d32018-10-12 18:24:24 +000057# Application configuration defaults.
58#################################################################
deen1985b958d7d2020-12-28 11:56:52 +010059image: onap/so/sdnc-adapter:1.7.11
jmacc4f04d32018-10-12 18:24:24 +000060pullPolicy: Always
61
seshukm0df1f8e2020-08-17 21:45:49 +053062org:
63 onap:
64 so:
65 adapters:
66 sdnc:
67 bpelauth: 4C18603C5AE7E3A42A6CED95CDF9C0BA9B2109B3725747662E5D34E5FDF63DA9ADEBB08185098F14699195FDE9475100
68 sdncauth: ED07A7EE5F099FA53369C3DF2240AD68A00154676EEDBC6F8C16BAA83B1912941B8941ABD48683D2C1072DA7040659692DE936A59BBF42A038CF71DE67B4A375190071EC76EA657801B033C135
69 network:
70 encryptionKey: 07a7159d3bf51a0e53be7a8f89699be7
71mso:
72 adapters:
73 requestDb:
74 auth: Basic YnBlbDpwYXNzd29yZDEk
75
Krzysztof Opasiak57431412020-03-24 23:18:49 +010076db:
77 userName: so_user
78 userPassword: so_User123
79 # userCredsExternalSecret: some secret
80 adminName: so_admin
81 adminPassword: so_Admin123
82 # adminCredsExternalSecret: some secret
83
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000084replicaCount: 1
85minReadySeconds: 10
seshukm0df1f8e2020-08-17 21:45:49 +053086containerPort: &containerPort 8086
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000087logPath: ./logs/sdnc/
88app: sdnc-adapter
89service:
90 type: ClusterIP
seshukm0df1f8e2020-08-17 21:45:49 +053091 internalPort: *containerPort
92 externalPort: *containerPort
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000093 portName: so-sdnc-port
94updateStrategy:
95 type: RollingUpdate
96 maxUnavailable: 1
97 maxSurge: 1
seshukm0df1f8e2020-08-17 21:45:49 +053098
99
100#################################################################
101# soHelpers part
102#################################################################
103soHelpers:
104 nameOverride: so-sdnc-cert-init
105 certInitializer:
106 nameOverride: so-sdnc-cert-init
107 credsPath: /opt/app/osaaf/local
108 cadi:
109 apiEnforcement: org.onap.so.sdncAdapterPerm
110 containerPort: *containerPort
111
vaibhav16dec0da88292018-08-13 06:10:27 +0000112# Resource Limit flavor -By Default using small
113flavor: small
114# Segregation for Different environment (Small and Large)
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000115resources:
vaibhav16dec0da88292018-08-13 06:10:27 +0000116 small:
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000117 limits:
118 memory: 4Gi
119 cpu: 2000m
vaibhav16dec0da88292018-08-13 06:10:27 +0000120 requests:
121 memory: 1Gi
122 cpu: 500m
123 large:
124 limits:
125 memory: 8Gi
126 cpu: 4000m
127 requests:
128 memory: 2Gi
129 cpu: 1000m
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000130 unlimited: {}
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000131livenessProbe:
132 path: /manage/health
133 port: 8086
134 scheme: HTTP
135 initialDelaySeconds: 600
136 periodSeconds: 60
137 timeoutSeconds: 10
138 successThreshold: 1
139 failureThreshold: 3
140ingress:
141 enabled: false
142nodeSelector: {}
143tolerations: []
Brian Freeman1a667932018-09-06 14:45:37 -0500144affinity: {}