blob: 4b36815d3d8bd67692e80b61320e4c289ccf0bb5 [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
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
jmacc4f04d32018-10-12 18:24:24 +000024 persistence:
25 mountPath: /dockerdata-nfs
Konrad Bańka7bde1d62020-04-01 16:09:11 +020026 #This configuration specifies Service and port for SDNC OAM interface
27 sdncOamService: sdnc-oam
28 sdncOamPort: 8282
seshukm0df1f8e2020-08-17 21:45:49 +053029 security:
30 aaf:
31 enabled: false
32 aaf:
33 auth:
34 header: Basic c29Ac28ub25hcC5vcmc6ZGVtbzEyMzQ1Ngo=
jmacc4f04d32018-10-12 18:24:24 +000035
36#################################################################
Krzysztof Opasiak57431412020-03-24 23:18:49 +010037# Secrets metaconfig
38#################################################################
39secrets:
40 - uid: db-user-creds
41 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010042 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
Krzysztof Opasiak57431412020-03-24 23:18:49 +010043 login: '{{ .Values.db.userName }}'
44 password: '{{ .Values.db.userPassword }}'
45 passwordPolicy: required
46 - uid: db-admin-creds
47 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010048 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
Krzysztof Opasiak57431412020-03-24 23:18:49 +010049 login: '{{ .Values.db.adminName }}'
50 password: '{{ .Values.db.adminPassword }}'
51 passwordPolicy: required
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010052
53#secretsFilePaths: |
54# - 'my file 1'
55# - '{{ include "templateThatGeneratesFileName" . }}'
Krzysztof Opasiak57431412020-03-24 23:18:49 +010056
57#################################################################
jmacc4f04d32018-10-12 18:24:24 +000058# Application configuration defaults.
59#################################################################
60repository: nexus3.onap.org:10001
seshukm40ec9fa2020-07-08 14:26:34 +053061image: onap/so/sdnc-adapter:1.6.4
jmacc4f04d32018-10-12 18:24:24 +000062pullPolicy: Always
63
seshukm0df1f8e2020-08-17 21:45:49 +053064org:
65 onap:
66 so:
67 adapters:
68 sdnc:
69 bpelauth: 4C18603C5AE7E3A42A6CED95CDF9C0BA9B2109B3725747662E5D34E5FDF63DA9ADEBB08185098F14699195FDE9475100
70 sdncauth: ED07A7EE5F099FA53369C3DF2240AD68A00154676EEDBC6F8C16BAA83B1912941B8941ABD48683D2C1072DA7040659692DE936A59BBF42A038CF71DE67B4A375190071EC76EA657801B033C135
71 network:
72 encryptionKey: 07a7159d3bf51a0e53be7a8f89699be7
73mso:
74 adapters:
75 requestDb:
76 auth: Basic YnBlbDpwYXNzd29yZDEk
77
Krzysztof Opasiak57431412020-03-24 23:18:49 +010078db:
79 userName: so_user
80 userPassword: so_User123
81 # userCredsExternalSecret: some secret
82 adminName: so_admin
83 adminPassword: so_Admin123
84 # adminCredsExternalSecret: some secret
85
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000086replicaCount: 1
87minReadySeconds: 10
seshukm0df1f8e2020-08-17 21:45:49 +053088containerPort: &containerPort 8086
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000089logPath: ./logs/sdnc/
90app: sdnc-adapter
91service:
92 type: ClusterIP
seshukm0df1f8e2020-08-17 21:45:49 +053093 internalPort: *containerPort
94 externalPort: *containerPort
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000095 portName: so-sdnc-port
96updateStrategy:
97 type: RollingUpdate
98 maxUnavailable: 1
99 maxSurge: 1
seshukm0df1f8e2020-08-17 21:45:49 +0530100
101
102#################################################################
103# soHelpers part
104#################################################################
105soHelpers:
106 nameOverride: so-sdnc-cert-init
107 certInitializer:
108 nameOverride: so-sdnc-cert-init
109 credsPath: /opt/app/osaaf/local
110 cadi:
111 apiEnforcement: org.onap.so.sdncAdapterPerm
112 containerPort: *containerPort
113
vaibhav16dec0da88292018-08-13 06:10:27 +0000114# Resource Limit flavor -By Default using small
115flavor: small
116# Segregation for Different environment (Small and Large)
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000117resources:
vaibhav16dec0da88292018-08-13 06:10:27 +0000118 small:
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000119 limits:
120 memory: 4Gi
121 cpu: 2000m
vaibhav16dec0da88292018-08-13 06:10:27 +0000122 requests:
123 memory: 1Gi
124 cpu: 500m
125 large:
126 limits:
127 memory: 8Gi
128 cpu: 4000m
129 requests:
130 memory: 2Gi
131 cpu: 1000m
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000132 unlimited: {}
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000133livenessProbe:
134 path: /manage/health
135 port: 8086
136 scheme: HTTP
137 initialDelaySeconds: 600
138 periodSeconds: 60
139 timeoutSeconds: 10
140 successThreshold: 1
141 failureThreshold: 3
142ingress:
143 enabled: false
144nodeSelector: {}
145tolerations: []
Brian Freeman1a667932018-09-06 14:45:37 -0500146affinity: {}