blob: aa7d535db396b14de499ab4e7f0d95514186a8fa [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 aafEnabled: true
22 persistence: {}
23 cassandra:
24 #This flag allows SDC to instantiate its own cluster, serviceName
25 #should be sdc-cs if this flag is enabled
26 localCluster: false
27 #The cassandra service name to connect to (default: shared cassandra service)
28 serviceName: cassandra
29 #Shared cassandra cluster replicaCount, should be changed if localCluster is enabled
30 #to match with its own cluster replica
31 replicaCount: 3
32 clusterName: cassandra
33 dataCenter: Pod
34
35#################################################################
36# AAF Part
37#################################################################
38certInitializer:
39 nameOverride: sdc-onboarding-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
Mandeep Khinda51a8b1b2018-04-24 20:05:32 +000057
58#################################################################
59# Application configuration defaults.
60#################################################################
61# application image
Joanna Jeremiczfe52bf52021-04-21 14:31:29 +020062image: onap/sdc-onboard-backend:1.9.0
63onboardingInitImage: onap/sdc-onboard-cassandra-init:1.9.0
Mandeep Khinda51a8b1b2018-04-24 20:05:32 +000064pullPolicy: Always
65
66# flag to enable debugging - application support required
67debugEnabled: false
68
69config:
r.bogackib17ce792019-09-03 10:23:24 +020070 javaOptions: "-Xmx1g -Xms1g"
Mandeep Khinda51a8b1b2018-04-24 20:05:32 +000071 cassandraSslEnabled: "false"
72
ChrisC742a7b22020-09-04 11:29:57 +020073#environment file
74env:
75 name: AUTO
76
Mandeep Khinda51a8b1b2018-04-24 20:05:32 +000077# default number of instances
78replicaCount: 1
79
80nodeSelector: {}
81
82affinity: {}
83
84# probe configuration parameters
85liveness:
Sylvain Desbureaux8c9416b2021-05-05 11:12:48 +020086 initialDelaySeconds: 1
87 periodSeconds: 10
Brian Freeman6142d942019-10-02 09:50:19 -050088 timeoutSeconds: 15
Sylvain Desbureaux8c9416b2021-05-05 11:12:48 +020089 successThreshold: 1
90 failureThreshold: 3
Mandeep Khinda51a8b1b2018-04-24 20:05:32 +000091 # necessary to disable liveness probe when setting breakpoints
92 # in debugger so K8s doesn't restart unresponsive container
93 enabled: true
94
95readiness:
Sylvain Desbureaux8c9416b2021-05-05 11:12:48 +020096 initialDelaySeconds: 1
97 periodSeconds: 10
Brian Freeman6142d942019-10-02 09:50:19 -050098 timeoutSeconds: 15
Sylvain Desbureaux8c9416b2021-05-05 11:12:48 +020099 successThreshold: 1
100 failureThreshold: 3
101
102startup:
103 initialDelaySeconds: 10
104 periodSeconds: 10
105 timeoutSeconds: 15
106 successThreshold: 1
107 failureThreshold: 60
Mandeep Khinda51a8b1b2018-04-24 20:05:32 +0000108
109service:
110 type: ClusterIP
111 name: sdc-onboarding-be
112 portName: sdc-onboarding-be
113 internalPort: 8445
114 externalPort: 8445
115 internalPort2: 8081
116 externalPort2: 8081
117
118## Persist data to a persitent volume
119persistence:
120 enabled: true
121
122 ## A manually managed Persistent Volume and Claim
123 ## Requires persistence.enabled: true
124 ## If defined, PVC must be created manually before volume will be bound
125 # existingClaim:
126 volumeReclaimPolicy: Retain
127
128 ## database data Persistent Volume Storage Class
129 ## If defined, storageClassName: <storageClass>
130 ## If set to "-", storageClassName: "", which disables dynamic provisioning
131 ## If undefined (the default) or set to null, no storageClassName spec is
132 ## set, choosing the default provisioner. (gp2 on AWS, standard on
133 ## GKE, AWS & OpenStack)
134 ##
135 # storageClass: "-"
Sylvain Desbureaux71a9fb32019-09-02 15:50:28 +0200136 accessMode: ReadWriteOnce
Mandeep Khinda51a8b1b2018-04-24 20:05:32 +0000137 size: 2Gi
138 mountPath: /dockerdata-nfs
139 mountSubPath: /sdc/sdc-cs/CS
140
kooper543d3aa2019-05-02 10:27:15 +0000141##Certificate storage persistence
142##This is temporary solution for SDC-1980
143cert:
Joanna Jeremiczfe52bf52021-04-21 14:31:29 +0200144 certDir: /app/jetty/cert
kooper543d3aa2019-05-02 10:27:15 +0000145 persistence:
146 enabled: true
147 size: 10Mi
Sylvain Desbureauxc8f45bb2020-01-23 11:55:37 +0100148 accessMode: ReadWriteOnce
kooper543d3aa2019-05-02 10:27:15 +0000149 volumeReclaimPolicy: Retain
150 mountSubPath: /sdc/onbaording/cert
151
MichaelMorris276812c2020-04-28 09:34:17 +0100152securityContext:
153 fsGroup: 35953
154 runAsUser: 352070
kooper543d3aa2019-05-02 10:27:15 +0000155
Mandeep Khinda51a8b1b2018-04-24 20:05:32 +0000156ingress:
157 enabled: false
158
Mukula93baa82018-09-19 15:56:58 +0000159# Resource Limit flavor -By Default using small
160flavor: small
161# Segregation for Different environment (Small and Large)
162resources:
163 small:
164 limits:
ChrisC32172342020-10-02 16:39:13 +0200165 cpu: 500m
166 memory: 2Gi
Mukula93baa82018-09-19 15:56:58 +0000167 requests:
ChrisC32172342020-10-02 16:39:13 +0200168 cpu: 40m
Mukula93baa82018-09-19 15:56:58 +0000169 memory: 1Gi
170 large:
171 limits:
ChrisC32172342020-10-02 16:39:13 +0200172 cpu: 1
173 memory: 4Gi
Mukula93baa82018-09-19 15:56:58 +0000174 requests:
ChrisC32172342020-10-02 16:39:13 +0200175 cpu: 80m
Mukula93baa82018-09-19 15:56:58 +0000176 memory: 2Gi
Mahendra Raghuwanshi35f83f52019-03-20 10:42:49 +0000177 unlimited: {}
farida azmy1383b4c2021-04-06 12:33:31 +0200178
179#Pods Service Account
180serviceAccount:
181 nameOverride: sdc-onboarding-be
182 roles:
183 - read