blob: 8f3565ed3edc5608e23190504d023b48be1d783b [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=
seshukm610d97d2021-03-19 02:57:36 +053031 encrypted: 3EDC974C5CD7FE54C47C7490AF4D3B474CDD7D0FFA35A7ACDE3E209631E45F428976EAC0858874F17390A13149E63C90281DD8D20456
32 #encryptedSecret: some secret
krishnaa9692b606b2020-10-30 11:29:21 +053033 mariadbGalera:
34 serviceName: mariadb-galera
35 servicePort: '3306'
jmacc4f04d32018-10-12 18:24:24 +000036
37#################################################################
Krzysztof Opasiak57431412020-03-24 23:18:49 +010038# Secrets metaconfig
39#################################################################
40secrets:
41 - uid: db-user-creds
42 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010043 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
Krzysztof Opasiak57431412020-03-24 23:18:49 +010044 login: '{{ .Values.db.userName }}'
45 password: '{{ .Values.db.userPassword }}'
46 passwordPolicy: required
47 - uid: db-admin-creds
48 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010049 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
Krzysztof Opasiak57431412020-03-24 23:18:49 +010050 login: '{{ .Values.db.adminName }}'
51 password: '{{ .Values.db.adminPassword }}'
52 passwordPolicy: required
seshukm610d97d2021-03-19 02:57:36 +053053 - uid: sdnc-adapter-mso-key
54 name: '{{ include "common.release" . }}-so-sdnc-mso-key'
55 type: password
56 externalSecret: '{{ tpl (default "" .Values.mso.msoKeySecret) . }}'
57 password: '{{ .Values.mso.msoKey }}'
58 - uid: sdnc-adapter-aaf-auth
59 name: '{{ include "common.release" . }}-so-sdnc-aaf-auth'
60 type: password
61 externalSecret: '{{ tpl (default "" .Values.global.aaf.auth.encryptedSecret) . }}'
62 password: '{{ .Values.global.aaf.auth.encrypted }}'
63 - uid: sdnc-adapter-mso-auth
64 name: '{{ include "common.release" . }}-so-sdnc-mso-auth'
65 type: password
66 externalSecret: '{{ tpl (default "" .Values.mso.authSecret) . }}'
67 password: '{{ .Values.mso.auth }}'
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010068#secretsFilePaths: |
69# - 'my file 1'
70# - '{{ include "templateThatGeneratesFileName" . }}'
Krzysztof Opasiak57431412020-03-24 23:18:49 +010071
72#################################################################
jmacc4f04d32018-10-12 18:24:24 +000073# Application configuration defaults.
74#################################################################
seshukme293c3d2021-04-22 22:30:42 +053075image: onap/so/sdnc-adapter:1.8.2
jmacc4f04d32018-10-12 18:24:24 +000076pullPolicy: Always
77
seshukm0df1f8e2020-08-17 21:45:49 +053078org:
79 onap:
80 so:
81 adapters:
82 sdnc:
83 bpelauth: 4C18603C5AE7E3A42A6CED95CDF9C0BA9B2109B3725747662E5D34E5FDF63DA9ADEBB08185098F14699195FDE9475100
84 sdncauth: ED07A7EE5F099FA53369C3DF2240AD68A00154676EEDBC6F8C16BAA83B1912941B8941ABD48683D2C1072DA7040659692DE936A59BBF42A038CF71DE67B4A375190071EC76EA657801B033C135
85 network:
86 encryptionKey: 07a7159d3bf51a0e53be7a8f89699be7
87mso:
seshukm610d97d2021-03-19 02:57:36 +053088 msoKey: 07a7159d3bf51a0e53be7a8f89699be7
89 #msoKeySecret: some secret
90 auth: BEA8637716A7EB617DF472BA6552D22F68C1CB17B0D094D77DDA562F4ADAAC4457CAB848E1A4
91 #authSecret: some secret
seshukm0df1f8e2020-08-17 21:45:49 +053092 adapters:
93 requestDb:
94 auth: Basic YnBlbDpwYXNzd29yZDEk
95
Krzysztof Opasiak57431412020-03-24 23:18:49 +010096db:
97 userName: so_user
98 userPassword: so_User123
99 # userCredsExternalSecret: some secret
100 adminName: so_admin
101 adminPassword: so_Admin123
102 # adminCredsExternalSecret: some secret
103
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000104replicaCount: 1
105minReadySeconds: 10
seshukm0df1f8e2020-08-17 21:45:49 +0530106containerPort: &containerPort 8086
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000107logPath: ./logs/sdnc/
108app: sdnc-adapter
109service:
110 type: ClusterIP
seshukm0df1f8e2020-08-17 21:45:49 +0530111 internalPort: *containerPort
112 externalPort: *containerPort
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000113 portName: so-sdnc-port
114updateStrategy:
115 type: RollingUpdate
116 maxUnavailable: 1
117 maxSurge: 1
seshukm0df1f8e2020-08-17 21:45:49 +0530118
119
120#################################################################
121# soHelpers part
122#################################################################
123soHelpers:
124 nameOverride: so-sdnc-cert-init
125 certInitializer:
126 nameOverride: so-sdnc-cert-init
127 credsPath: /opt/app/osaaf/local
128 cadi:
129 apiEnforcement: org.onap.so.sdncAdapterPerm
130 containerPort: *containerPort
131
vaibhav16dec0da88292018-08-13 06:10:27 +0000132# Resource Limit flavor -By Default using small
133flavor: small
134# Segregation for Different environment (Small and Large)
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000135resources:
vaibhav16dec0da88292018-08-13 06:10:27 +0000136 small:
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000137 limits:
138 memory: 4Gi
139 cpu: 2000m
vaibhav16dec0da88292018-08-13 06:10:27 +0000140 requests:
141 memory: 1Gi
142 cpu: 500m
143 large:
144 limits:
145 memory: 8Gi
146 cpu: 4000m
147 requests:
148 memory: 2Gi
149 cpu: 1000m
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000150 unlimited: {}
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000151livenessProbe:
152 path: /manage/health
153 port: 8086
154 scheme: HTTP
155 initialDelaySeconds: 600
156 periodSeconds: 60
157 timeoutSeconds: 10
158 successThreshold: 1
159 failureThreshold: 3
160ingress:
161 enabled: false
162nodeSelector: {}
163tolerations: []
Brian Freeman1a667932018-09-06 14:45:37 -0500164affinity: {}
farida azmy87f46222021-04-06 15:25:15 +0200165
166#Pods Service Account
167serviceAccount:
168 nameOverride: so-sdnc-adapter
169 roles:
170 - read