blob: 3c6458b4c5bde5db62f63983ed18acaca37d65b5 [file] [log] [blame]
Mandeep Khinda51a8b1b2018-04-24 20:05:32 +00001# Copyright © 2017 Amdocs, Bell Canada
toshrajbhardwajf4fc1c62018-08-06 07:35:14 +00002# Modifications Copyright © 2018 AT&T, ZTE
Mandeep Khinda51a8b1b2018-04-24 20:05:32 +00003#
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 persistence: {}
Andreas Geisslerfd450c42021-12-10 08:36:45 +000022 sdc_cassandra:
ChrisC742a7b22020-09-04 11:29:57 +020023 #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#################################################################
Mandeep Khinda51a8b1b2018-04-24 20:05:32 +000035# Application configuration defaults.
36#################################################################
37# application image
vasraz8b1f0852023-03-23 13:22:11 +000038image: onap/sdc-onboard-backend:1.12.3
39onboardingInitImage: onap/sdc-onboard-cassandra-init:1.12.3
Mandeep Khinda51a8b1b2018-04-24 20:05:32 +000040pullPolicy: Always
41
42# flag to enable debugging - application support required
43debugEnabled: false
44
45config:
r.bogackib17ce792019-09-03 10:23:24 +020046 javaOptions: "-Xmx1g -Xms1g"
Mandeep Khinda51a8b1b2018-04-24 20:05:32 +000047 cassandraSslEnabled: "false"
48
ChrisC742a7b22020-09-04 11:29:57 +020049#environment file
50env:
51 name: AUTO
52
Mandeep Khinda51a8b1b2018-04-24 20:05:32 +000053# default number of instances
54replicaCount: 1
55
56nodeSelector: {}
57
58affinity: {}
59
60# probe configuration parameters
61liveness:
Sylvain Desbureaux8c9416b2021-05-05 11:12:48 +020062 initialDelaySeconds: 1
63 periodSeconds: 10
Brian Freeman6142d942019-10-02 09:50:19 -050064 timeoutSeconds: 15
Sylvain Desbureaux8c9416b2021-05-05 11:12:48 +020065 successThreshold: 1
66 failureThreshold: 3
Mandeep Khinda51a8b1b2018-04-24 20:05:32 +000067 # necessary to disable liveness probe when setting breakpoints
68 # in debugger so K8s doesn't restart unresponsive container
69 enabled: true
70
71readiness:
Sylvain Desbureaux8c9416b2021-05-05 11:12:48 +020072 initialDelaySeconds: 1
73 periodSeconds: 10
Brian Freeman6142d942019-10-02 09:50:19 -050074 timeoutSeconds: 15
Sylvain Desbureaux8c9416b2021-05-05 11:12:48 +020075 successThreshold: 1
76 failureThreshold: 3
77
78startup:
79 initialDelaySeconds: 10
80 periodSeconds: 10
81 timeoutSeconds: 15
82 successThreshold: 1
83 failureThreshold: 60
Mandeep Khinda51a8b1b2018-04-24 20:05:32 +000084
85service:
86 type: ClusterIP
87 name: sdc-onboarding-be
Andreas Geisslerdd34ead2023-03-20 17:16:45 +010088 internalPort: 8081
89 ports:
90 - name: http
91 port: 8081
Mandeep Khinda51a8b1b2018-04-24 20:05:32 +000092
93## Persist data to a persitent volume
94persistence:
95 enabled: true
96
97 ## A manually managed Persistent Volume and Claim
98 ## Requires persistence.enabled: true
99 ## If defined, PVC must be created manually before volume will be bound
100 # existingClaim:
101 volumeReclaimPolicy: Retain
102
103 ## database data Persistent Volume Storage Class
104 ## If defined, storageClassName: <storageClass>
105 ## If set to "-", storageClassName: "", which disables dynamic provisioning
106 ## If undefined (the default) or set to null, no storageClassName spec is
107 ## set, choosing the default provisioner. (gp2 on AWS, standard on
108 ## GKE, AWS & OpenStack)
109 ##
110 # storageClass: "-"
Sylvain Desbureaux71a9fb32019-09-02 15:50:28 +0200111 accessMode: ReadWriteOnce
Mandeep Khinda51a8b1b2018-04-24 20:05:32 +0000112 size: 2Gi
113 mountPath: /dockerdata-nfs
114 mountSubPath: /sdc/sdc-cs/CS
115
MichaelMorris276812c2020-04-28 09:34:17 +0100116securityContext:
117 fsGroup: 35953
118 runAsUser: 352070
kooper543d3aa2019-05-02 10:27:15 +0000119
Mandeep Khinda51a8b1b2018-04-24 20:05:32 +0000120ingress:
121 enabled: false
122
Mukula93baa82018-09-19 15:56:58 +0000123# Resource Limit flavor -By Default using small
124flavor: small
125# Segregation for Different environment (Small and Large)
126resources:
127 small:
128 limits:
ChrisC32172342020-10-02 16:39:13 +0200129 cpu: 500m
130 memory: 2Gi
Mukula93baa82018-09-19 15:56:58 +0000131 requests:
ChrisC32172342020-10-02 16:39:13 +0200132 cpu: 40m
Mukula93baa82018-09-19 15:56:58 +0000133 memory: 1Gi
134 large:
135 limits:
ChrisC32172342020-10-02 16:39:13 +0200136 cpu: 1
137 memory: 4Gi
Mukula93baa82018-09-19 15:56:58 +0000138 requests:
ChrisC32172342020-10-02 16:39:13 +0200139 cpu: 80m
Mukula93baa82018-09-19 15:56:58 +0000140 memory: 2Gi
Mahendra Raghuwanshi35f83f52019-03-20 10:42:49 +0000141 unlimited: {}
farida azmy1383b4c2021-04-06 12:33:31 +0200142
143#Pods Service Account
144serviceAccount:
145 nameOverride: sdc-onboarding-be
146 roles:
147 - read
Maciej Wereski771ec2a2021-10-14 13:59:12 +0000148
othman touijer2b764d02022-01-05 14:40:37 +0100149wait_for_job_container:
150 containers:
151 - '{{ include "common.name" . }}-job'
152
Maciej Wereski771ec2a2021-10-14 13:59:12 +0000153#Log configuration
154log:
155 path: /var/log/onap
156logConfigMapNamePrefix: '{{ include "common.fullname" . }}'