blob: 828283ec7674d8df88c755a50718ebfac5d4d1c8 [file] [log] [blame]
toshrajbhardwajf4fc1c62018-08-06 07:35:14 +00001# Copyright © 2017 Amdocs, Bell Canada
2# Modifications Copyright © 2018 AT&T, ZTE
priyanshua1b061392018-05-29 12:50:14 +05303#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
16#################################################################
17# Global configuration defaults.
18#################################################################
19global:
20 nodePortPrefix: 302
ChrisC742a7b22020-09-04 11:29:57 +020021 aafEnabled: true
Andreas Geisslerfd450c42021-12-10 08:36:45 +000022 sdc_cassandra:
othman touijer2b764d02022-01-05 14:40:37 +010023 # This flag allows SDC to instantiate its own cluster, serviceName
24 # should be sdc-cs if this flag is enabled
ChrisC742a7b22020-09-04 11:29:57 +020025 localCluster: false
othman touijer2b764d02022-01-05 14:40:37 +010026 # The cassandra service name to connect to
27 # (default: shared cassandra service)
ChrisC742a7b22020-09-04 11:29:57 +020028 serviceName: cassandra
othman touijer2b764d02022-01-05 14:40:37 +010029 # Shared cassandra cluster replicaCount, should be changed if
30 # localCluster is enabled to match with its own cluster replica
ChrisC742a7b22020-09-04 11:29:57 +020031 replicaCount: 3
32 clusterName: cassandra
33 dataCenter: Pod
34
35#################################################################
36# AAF Part
37#################################################################
38certInitializer:
39 nameOverride: sdc-wfd-be-cert-init
40 aafDeployFqi: deployer@people.osaaf.org
41 aafDeployPass: demo123456!
42 fqdn: sdc
43 fqi: sdc@sdc.onap.org
44 public_fqdn: sdc.onap.org
45 cadi_longitude: "0.0"
46 cadi_latitude: "0.0"
47 app_ns: org.osaaf.aaf
48 credsPath: /opt/app/osaaf/local
49 addconfig: true
50 keystoreFile: "org.onap.sdc.p12"
51 truststoreFile: "org.onap.sdc.trust.jks"
52 permission_user: 352070
53 permission_group: 35953
Sylvain Desbureaux575743d2021-02-23 16:38:07 +010054 aaf_add_config: |
55 echo "cadi_keystore_password_p12=$cadi_keystore_password_p12" > {{ .Values.credsPath }}/mycreds.prop
56 echo "cadi_truststore_password=$cadi_truststore_password" >> {{ .Values.credsPath }}/mycreds.prop
priyanshua1b061392018-05-29 12:50:14 +053057
58#################################################################
59# Application configuration defaults.
60#################################################################
61# application image
vasrazcd73ca62022-03-17 15:18:51 +000062image: onap/sdc-workflow-backend:1.11.1
63configInitImage: onap/sdc-workflow-init:1.11.1
priyanshua1b061392018-05-29 12:50:14 +053064pullPolicy: Always
65
priyanshu617e90b2019-03-14 12:56:55 +053066initJob:
67 enabled: true
68
priyanshua1b061392018-05-29 12:50:14 +053069config:
r.bogacki00bd0862019-09-03 09:22:43 +020070 javaOptions: "-Xmx1536m -Xms1536m"
priyanshubd7fbe22019-03-20 12:45:21 +053071 cassandraAuthenticationEnabled: true
priyanshu3af9db62018-08-16 16:23:52 +053072 cassandraClientPort: 9042
othman touijer2b764d02022-01-05 14:40:37 +010073 sdcEndpoint:
74 https: sdc-be:8443
75 http: sdc-be:8080
priyanshuc00acbb2018-09-06 11:29:23 +053076 sdcExternalUser: workflow
priyanshubd7fbe22019-03-20 12:45:21 +053077 serverSSLKeyStoreType: jks
IlanaPc80bff92019-11-18 21:10:08 +020078 serverSSLTrustStoreType: jks
priyanshubd7fbe22019-03-20 12:45:21 +053079 cassandraSSLEnabled: false
MichaelMorrisb137f7e2020-03-15 17:44:48 +000080 cassandraTrustStorePath: /home/sdc/etc/truststore
priyanshua1b061392018-05-29 12:50:14 +053081
ChrisC742a7b22020-09-04 11:29:57 +020082# environment file
83env:
84 name: AUTO
85
priyanshua1b061392018-05-29 12:50:14 +053086# default number of instances
87replicaCount: 1
88
89nodeSelector: {}
90
91affinity: {}
92
93# probe configuration parameters
othman touijer2b764d02022-01-05 14:40:37 +010094#liveness:
95# initialDelaySeconds: 60
96# periodSeconds: 10
97# # necessary to disable liveness probe when setting breakpoints
98# # in debugger so K8s doesn't restart unresponsive container
99# enabled: true
priyanshua1b061392018-05-29 12:50:14 +0530100
othman touijer2b764d02022-01-05 14:40:37 +0100101#readiness:
102# initialDelaySeconds: 60
103# periodSeconds: 10
priyanshua1b061392018-05-29 12:50:14 +0530104
Sylvain Desbureaux8c9416b2021-05-05 11:12:48 +0200105# probe configuration parameters
106liveness:
107 initialDelaySeconds: 1
108 periodSeconds: 10
109 successThreshold: 1
110 failureThreshold: 3
111 # necessary to disable liveness probe when setting breakpoints
112 # in debugger so K8s doesn't restart unresponsive container
113 enabled: true
114
115readiness:
116 initialDelaySeconds: 1
117 periodSeconds: 10
118 successThreshold: 1
119 failureThreshold: 3
120
121startup:
122 initialDelaySeconds: 10
123 periodSeconds: 10
124 successThreshold: 1
125 failureThreshold: 60
126
priyanshua1b061392018-05-29 12:50:14 +0530127service:
128 type: NodePort
othman touijer2b764d02022-01-05 14:40:37 +0100129 portName: http
priyanshua1b061392018-05-29 12:50:14 +0530130 internalPort: 8080
131 externalPort: 8080
priyanshubd7fbe22019-03-20 12:45:21 +0530132 internalPort2: 8443
133 externalPort2: 8443
IlanaPc80bff92019-11-18 21:10:08 +0200134 nodePort: "57" # only one node port. set to http or https port depending on isHttpsEnabled property
135
priyanshua1b061392018-05-29 12:50:14 +0530136ingress:
137 enabled: false
Lucjan Bryndzaa0abab12019-11-28 11:00:50 +0100138 service:
139 - baseaddr: "sdcwfdbe"
140 name: "sdc-wfd-be"
141 port: 8443
142 config:
143 ssl: "redirect"
ChrisC742a7b22020-09-04 11:29:57 +0200144
ChrisC32172342020-10-02 16:39:13 +0200145# Resource Limit flavor -By Default using small
146# Segregation for Different environment (Small and Large)
147flavor: small
148resources:
149 small:
150 limits:
151 cpu: 500m
152 memory: 2Gi
153 requests:
154 cpu: 40m
155 memory: 1Gi
156 large:
157 limits:
158 cpu: 1
159 memory: 4Gi
160 requests:
161 cpu: 80m
162 memory: 2Gi
163 unlimited: {}
farida azmy1383b4c2021-04-06 12:33:31 +0200164
165#Pods Service Account
166serviceAccount:
167 nameOverride: sdc-wfd-be
168 roles:
169 - read
othman touijer2b764d02022-01-05 14:40:37 +0100170
171wait_for_job_container:
172 containers:
173 - '{{ include "common.name" . }}-job'