blob: ff10a64b5a4eafc7d03db0d400661ad40493362c [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
Sylvain Desbureaux1694e1d2020-08-21 09:58:25 +020021 readinessImage: onap/oom/readiness:3.0.1
Mandeep Khinda51a8b1b2018-04-24 20:05:32 +000022 loggingRepository: docker.elastic.co
23 loggingImage: beats/filebeat:5.5.0
ChrisC742a7b22020-09-04 11:29:57 +020024 aafEnabled: true
25 persistence: {}
26 cassandra:
27 #This flag allows SDC to instantiate its own cluster, serviceName
28 #should be sdc-cs if this flag is enabled
29 localCluster: false
30 #The cassandra service name to connect to (default: shared cassandra service)
31 serviceName: cassandra
32 #Shared cassandra cluster replicaCount, should be changed if localCluster is enabled
33 #to match with its own cluster replica
34 replicaCount: 3
35 clusterName: cassandra
36 dataCenter: Pod
37
38#################################################################
39# AAF Part
40#################################################################
41certInitializer:
42 nameOverride: sdc-onboarding-be-cert-init
43 aafDeployFqi: deployer@people.osaaf.org
44 aafDeployPass: demo123456!
45 fqdn: sdc
46 fqi: sdc@sdc.onap.org
47 public_fqdn: sdc.onap.org
48 cadi_longitude: "0.0"
49 cadi_latitude: "0.0"
50 app_ns: org.osaaf.aaf
51 credsPath: /opt/app/osaaf/local
52 addconfig: true
53 keystoreFile: "org.onap.sdc.p12"
54 truststoreFile: "org.onap.sdc.trust.jks"
55 permission_user: 352070
56 permission_group: 35953
57 aaf_add_config: >
58 /opt/app/aaf_config/bin/agent.sh local showpass
59 {{.Values.fqi}} {{ .Values.fqdn }} > {{ .Values.credsPath }}/mycreds.prop
Mandeep Khinda51a8b1b2018-04-24 20:05:32 +000060
61#################################################################
62# Application configuration defaults.
63#################################################################
64# application image
65repository: nexus3.onap.org:10001
ChrisC7ab57312020-08-12 16:24:38 +020066image: onap/sdc-onboard-backend:1.7.1
67onboardingInitImage: onap/sdc-onboard-cassandra-init:1.7.1
Mandeep Khinda51a8b1b2018-04-24 20:05:32 +000068pullPolicy: Always
69
70# flag to enable debugging - application support required
71debugEnabled: false
72
73config:
r.bogackib17ce792019-09-03 10:23:24 +020074 javaOptions: "-Xmx1g -Xms1g"
Mandeep Khinda51a8b1b2018-04-24 20:05:32 +000075 cassandraSslEnabled: "false"
76
ChrisC742a7b22020-09-04 11:29:57 +020077#environment file
78env:
79 name: AUTO
80
Mandeep Khinda51a8b1b2018-04-24 20:05:32 +000081# default number of instances
82replicaCount: 1
83
84nodeSelector: {}
85
86affinity: {}
87
88# probe configuration parameters
89liveness:
Brian Freeman6142d942019-10-02 09:50:19 -050090 initialDelaySeconds: 120
91 periodSeconds: 60
92 timeoutSeconds: 15
Mandeep Khinda51a8b1b2018-04-24 20:05:32 +000093 # necessary to disable liveness probe when setting breakpoints
94 # in debugger so K8s doesn't restart unresponsive container
95 enabled: true
96
97readiness:
Brian Freeman6142d942019-10-02 09:50:19 -050098 initialDelaySeconds: 120
99 periodSeconds: 60
100 timeoutSeconds: 15
Mandeep Khinda51a8b1b2018-04-24 20:05:32 +0000101
102service:
103 type: ClusterIP
104 name: sdc-onboarding-be
105 portName: sdc-onboarding-be
106 internalPort: 8445
107 externalPort: 8445
108 internalPort2: 8081
109 externalPort2: 8081
110
111## Persist data to a persitent volume
112persistence:
113 enabled: true
114
115 ## A manually managed Persistent Volume and Claim
116 ## Requires persistence.enabled: true
117 ## If defined, PVC must be created manually before volume will be bound
118 # existingClaim:
119 volumeReclaimPolicy: Retain
120
121 ## database data Persistent Volume Storage Class
122 ## If defined, storageClassName: <storageClass>
123 ## If set to "-", storageClassName: "", which disables dynamic provisioning
124 ## If undefined (the default) or set to null, no storageClassName spec is
125 ## set, choosing the default provisioner. (gp2 on AWS, standard on
126 ## GKE, AWS & OpenStack)
127 ##
128 # storageClass: "-"
Sylvain Desbureaux71a9fb32019-09-02 15:50:28 +0200129 accessMode: ReadWriteOnce
Mandeep Khinda51a8b1b2018-04-24 20:05:32 +0000130 size: 2Gi
131 mountPath: /dockerdata-nfs
132 mountSubPath: /sdc/sdc-cs/CS
133
kooper543d3aa2019-05-02 10:27:15 +0000134##Certificate storage persistence
135##This is temporary solution for SDC-1980
136cert:
137 certDir: /var/lib/jetty/cert
138 persistence:
139 enabled: true
140 size: 10Mi
Sylvain Desbureauxc8f45bb2020-01-23 11:55:37 +0100141 accessMode: ReadWriteOnce
kooper543d3aa2019-05-02 10:27:15 +0000142 volumeReclaimPolicy: Retain
143 mountSubPath: /sdc/onbaording/cert
144
MichaelMorris276812c2020-04-28 09:34:17 +0100145securityContext:
146 fsGroup: 35953
147 runAsUser: 352070
kooper543d3aa2019-05-02 10:27:15 +0000148
Mandeep Khinda51a8b1b2018-04-24 20:05:32 +0000149ingress:
150 enabled: false
151
Mukula93baa82018-09-19 15:56:58 +0000152# Resource Limit flavor -By Default using small
153flavor: small
154# Segregation for Different environment (Small and Large)
155resources:
156 small:
157 limits:
158 cpu: 1
159 memory: 4Gi
160 requests:
161 cpu: 10m
162 memory: 1Gi
163 large:
164 limits:
165 cpu: 2
166 memory: 8Gi
167 requests:
168 cpu: 20m
169 memory: 2Gi
Mahendra Raghuwanshi35f83f52019-03-20 10:42:49 +0000170 unlimited: {}