blob: cc85176748666c565988c23c4fa4f20a541bf21c [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
Andreas Geisslerfd450c42021-12-10 08:36:45 +000021 sdc_cassandra:
othman touijer2b764d02022-01-05 14:40:37 +010022 # This flag allows SDC to instantiate its own cluster, serviceName
23 # should be sdc-cs if this flag is enabled
ChrisC742a7b22020-09-04 11:29:57 +020024 localCluster: false
othman touijer2b764d02022-01-05 14:40:37 +010025 # The cassandra service name to connect to
26 # (default: shared cassandra service)
ChrisC742a7b22020-09-04 11:29:57 +020027 serviceName: cassandra
othman touijer2b764d02022-01-05 14:40:37 +010028 # Shared cassandra cluster replicaCount, should be changed if
29 # localCluster is enabled to match with its own cluster replica
ChrisC742a7b22020-09-04 11:29:57 +020030 replicaCount: 3
31 clusterName: cassandra
32 dataCenter: Pod
33
34#################################################################
priyanshua1b061392018-05-29 12:50:14 +053035# Application configuration defaults.
36#################################################################
37# application image
vasraz8b1f0852023-03-23 13:22:11 +000038image: onap/sdc-workflow-backend:1.12.0
39configInitImage: onap/sdc-workflow-init:1.12.0
priyanshua1b061392018-05-29 12:50:14 +053040pullPolicy: Always
41
priyanshu617e90b2019-03-14 12:56:55 +053042initJob:
43 enabled: true
44
priyanshua1b061392018-05-29 12:50:14 +053045config:
r.bogacki00bd0862019-09-03 09:22:43 +020046 javaOptions: "-Xmx1536m -Xms1536m"
priyanshubd7fbe22019-03-20 12:45:21 +053047 cassandraAuthenticationEnabled: true
priyanshu3af9db62018-08-16 16:23:52 +053048 cassandraClientPort: 9042
othman touijer2b764d02022-01-05 14:40:37 +010049 sdcEndpoint:
othman touijer2b764d02022-01-05 14:40:37 +010050 http: sdc-be:8080
priyanshuc00acbb2018-09-06 11:29:23 +053051 sdcExternalUser: workflow
priyanshubd7fbe22019-03-20 12:45:21 +053052 serverSSLKeyStoreType: jks
IlanaPc80bff92019-11-18 21:10:08 +020053 serverSSLTrustStoreType: jks
priyanshubd7fbe22019-03-20 12:45:21 +053054 cassandraSSLEnabled: false
MichaelMorrisb137f7e2020-03-15 17:44:48 +000055 cassandraTrustStorePath: /home/sdc/etc/truststore
priyanshua1b061392018-05-29 12:50:14 +053056
ChrisC742a7b22020-09-04 11:29:57 +020057# environment file
58env:
59 name: AUTO
60
priyanshua1b061392018-05-29 12:50:14 +053061# default number of instances
62replicaCount: 1
63
64nodeSelector: {}
65
66affinity: {}
67
68# probe configuration parameters
othman touijer2b764d02022-01-05 14:40:37 +010069#liveness:
70# initialDelaySeconds: 60
71# periodSeconds: 10
72# # necessary to disable liveness probe when setting breakpoints
73# # in debugger so K8s doesn't restart unresponsive container
74# enabled: true
priyanshua1b061392018-05-29 12:50:14 +053075
othman touijer2b764d02022-01-05 14:40:37 +010076#readiness:
77# initialDelaySeconds: 60
78# periodSeconds: 10
priyanshua1b061392018-05-29 12:50:14 +053079
Sylvain Desbureaux8c9416b2021-05-05 11:12:48 +020080# probe configuration parameters
81liveness:
82 initialDelaySeconds: 1
83 periodSeconds: 10
84 successThreshold: 1
85 failureThreshold: 3
86 # necessary to disable liveness probe when setting breakpoints
87 # in debugger so K8s doesn't restart unresponsive container
88 enabled: true
89
90readiness:
91 initialDelaySeconds: 1
92 periodSeconds: 10
93 successThreshold: 1
94 failureThreshold: 3
95
96startup:
97 initialDelaySeconds: 10
98 periodSeconds: 10
99 successThreshold: 1
100 failureThreshold: 60
101
priyanshua1b061392018-05-29 12:50:14 +0530102service:
103 type: NodePort
104 internalPort: 8080
Andreas Geisslerdd34ead2023-03-20 17:16:45 +0100105 ports:
106 - name: http
107 port: 8080
108 nodePort: "57"
IlanaPc80bff92019-11-18 21:10:08 +0200109
priyanshua1b061392018-05-29 12:50:14 +0530110ingress:
111 enabled: false
Lucjan Bryndzaa0abab12019-11-28 11:00:50 +0100112 service:
Andreas Geissler51900a92022-08-03 13:10:35 +0200113 - baseaddr: "sdc-wfd-be-api"
Lucjan Bryndzaa0abab12019-11-28 11:00:50 +0100114 name: "sdc-wfd-be"
Andreas Geisslerdd34ead2023-03-20 17:16:45 +0100115 port: 8080
Lucjan Bryndzaa0abab12019-11-28 11:00:50 +0100116 config:
117 ssl: "redirect"
ChrisC742a7b22020-09-04 11:29:57 +0200118
AndrewLambb304a322023-04-11 17:05:54 +0100119serviceMesh:
120 authorizationPolicy:
121 authorizedPrincipals:
122 - serviceAccount: sdc-wfd-fe-read
123 - serviceAccount: so-sdc-controller-read
124 - serviceAccount: istio-ingress
125 namespace: istio-ingress
126
ChrisC32172342020-10-02 16:39:13 +0200127# Resource Limit flavor -By Default using small
128# Segregation for Different environment (Small and Large)
129flavor: small
130resources:
131 small:
132 limits:
Andreas Geissler47537432024-02-27 08:55:23 +0100133 cpu: "1"
134 memory: "1Gi"
ChrisC32172342020-10-02 16:39:13 +0200135 requests:
Andreas Geissler47537432024-02-27 08:55:23 +0100136 cpu: "0.5"
137 memory: "1Gi"
ChrisC32172342020-10-02 16:39:13 +0200138 large:
139 limits:
Andreas Geissler47537432024-02-27 08:55:23 +0100140 cpu: "2"
141 memory: "2Gi"
ChrisC32172342020-10-02 16:39:13 +0200142 requests:
Andreas Geissler47537432024-02-27 08:55:23 +0100143 cpu: "1"
144 memory: "2Gi"
ChrisC32172342020-10-02 16:39:13 +0200145 unlimited: {}
farida azmy1383b4c2021-04-06 12:33:31 +0200146
147#Pods Service Account
148serviceAccount:
149 nameOverride: sdc-wfd-be
150 roles:
151 - read
othman touijer2b764d02022-01-05 14:40:37 +0100152
153wait_for_job_container:
154 containers:
155 - '{{ include "common.name" . }}-job'