blob: dbd643806c74b85c6466a8c87334079b24bfb236 [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
22 cassandra:
23 #This flag allows SDC to instantiate its own cluster, serviceName
24 #should be sdc-cs if this flag is enabled
25 localCluster: false
26 #The cassandra service name to connect to (default: shared cassandra service)
27 serviceName: cassandra
28 #Shared cassandra cluster replicaCount, should be changed if localCluster is enabled
29 #to match with its own cluster replica
30 replicaCount: 3
31 clusterName: cassandra
32 dataCenter: Pod
33
34#################################################################
35# AAF Part
36#################################################################
37certInitializer:
38 nameOverride: sdc-wfd-be-cert-init
39 aafDeployFqi: deployer@people.osaaf.org
40 aafDeployPass: demo123456!
41 fqdn: sdc
42 fqi: sdc@sdc.onap.org
43 public_fqdn: sdc.onap.org
44 cadi_longitude: "0.0"
45 cadi_latitude: "0.0"
46 app_ns: org.osaaf.aaf
47 credsPath: /opt/app/osaaf/local
48 addconfig: true
49 keystoreFile: "org.onap.sdc.p12"
50 truststoreFile: "org.onap.sdc.trust.jks"
51 permission_user: 352070
52 permission_group: 35953
Sylvain Desbureaux575743d2021-02-23 16:38:07 +010053 aaf_add_config: |
54 echo "cadi_keystore_password_p12=$cadi_keystore_password_p12" > {{ .Values.credsPath }}/mycreds.prop
55 echo "cadi_truststore_password=$cadi_truststore_password" >> {{ .Values.credsPath }}/mycreds.prop
priyanshua1b061392018-05-29 12:50:14 +053056
57#################################################################
58# Application configuration defaults.
59#################################################################
60# application image
ChrisC7ab57312020-08-12 16:24:38 +020061image: onap/sdc-workflow-backend:1.7.0
62configInitImage: onap/sdc-workflow-init:1.7.0
priyanshua1b061392018-05-29 12:50:14 +053063pullPolicy: Always
64
priyanshu617e90b2019-03-14 12:56:55 +053065initJob:
66 enabled: true
67
priyanshua1b061392018-05-29 12:50:14 +053068config:
r.bogacki00bd0862019-09-03 09:22:43 +020069 javaOptions: "-Xmx1536m -Xms1536m"
priyanshubd7fbe22019-03-20 12:45:21 +053070 cassandraAuthenticationEnabled: true
priyanshu3af9db62018-08-16 16:23:52 +053071 cassandraClientPort: 9042
r.bogacki08a72d62019-10-01 08:43:44 +020072 sdcProtocol: HTTPS
73 sdcEndpoint: sdc-be:8443
priyanshuc00acbb2018-09-06 11:29:23 +053074 sdcExternalUser: workflow
IlanaPc80bff92019-11-18 21:10:08 +020075 serverSSLEnabled: true
priyanshubd7fbe22019-03-20 12:45:21 +053076 serverSSLKeyStoreType: jks
IlanaPc80bff92019-11-18 21:10:08 +020077 serverSSLTrustStoreType: jks
priyanshubd7fbe22019-03-20 12:45:21 +053078 cassandraSSLEnabled: false
MichaelMorrisb137f7e2020-03-15 17:44:48 +000079 cassandraTrustStorePath: /home/sdc/etc/truststore
priyanshua1b061392018-05-29 12:50:14 +053080
ChrisC742a7b22020-09-04 11:29:57 +020081# environment file
82env:
83 name: AUTO
84
priyanshua1b061392018-05-29 12:50:14 +053085# default number of instances
86replicaCount: 1
87
88nodeSelector: {}
89
90affinity: {}
91
92# probe configuration parameters
93liveness:
94 initialDelaySeconds: 60
95 periodSeconds: 10
96 # necessary to disable liveness probe when setting breakpoints
97 # in debugger so K8s doesn't restart unresponsive container
98 enabled: true
99
100readiness:
101 initialDelaySeconds: 60
102 periodSeconds: 10
103
104service:
105 type: NodePort
IlanaPc80bff92019-11-18 21:10:08 +0200106 portName: sdc-wfd-be
priyanshua1b061392018-05-29 12:50:14 +0530107 internalPort: 8080
108 externalPort: 8080
priyanshubd7fbe22019-03-20 12:45:21 +0530109 internalPort2: 8443
110 externalPort2: 8443
IlanaPc80bff92019-11-18 21:10:08 +0200111 nodePort: "57" # only one node port. set to http or https port depending on isHttpsEnabled property
112
priyanshua1b061392018-05-29 12:50:14 +0530113ingress:
114 enabled: false
Lucjan Bryndzaa0abab12019-11-28 11:00:50 +0100115 service:
116 - baseaddr: "sdcwfdbe"
117 name: "sdc-wfd-be"
118 port: 8443
119 config:
120 ssl: "redirect"
ChrisC742a7b22020-09-04 11:29:57 +0200121
ChrisC32172342020-10-02 16:39:13 +0200122# Resource Limit flavor -By Default using small
123# Segregation for Different environment (Small and Large)
124flavor: small
125resources:
126 small:
127 limits:
128 cpu: 500m
129 memory: 2Gi
130 requests:
131 cpu: 40m
132 memory: 1Gi
133 large:
134 limits:
135 cpu: 1
136 memory: 4Gi
137 requests:
138 cpu: 80m
139 memory: 2Gi
140 unlimited: {}