blob: 2b7edd97ed9d504961d32f7ec28118bfd5a28138 [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
Mandeep Khinda51a8b1b2018-04-24 20:05:32 +000021 readinessRepository: oomk8s
Mahendra Raghuwanshi35f83f52019-03-20 10:42:49 +000022 readinessImage: readiness-check:2.0.2
Mandeep Khinda51a8b1b2018-04-24 20:05:32 +000023 loggingRepository: docker.elastic.co
24 loggingImage: beats/filebeat:5.5.0
25
26#################################################################
27# Application configuration defaults.
28#################################################################
29# application image
30repository: nexus3.onap.org:10001
Sonsino, Ofir (os0695)630a2682019-05-02 10:44:59 +030031image: onap/sdc-onboard-backend:1.4.0
32onboardingInitImage: onap/sdc-onboard-cassandra-init:1.4.0
Mandeep Khinda51a8b1b2018-04-24 20:05:32 +000033pullPolicy: Always
34
35# flag to enable debugging - application support required
36debugEnabled: false
37
38config:
39 javaOptions: "-Xdebug -agentlib:jdwp=transport=dt_socket,address=4001,server=y,suspend=n -Xmx1g -Xms1g"
40 cassandraSslEnabled: "false"
41
42# default number of instances
43replicaCount: 1
44
45nodeSelector: {}
46
47affinity: {}
48
49# probe configuration parameters
50liveness:
51 initialDelaySeconds: 60
52 periodSeconds: 10
53 # necessary to disable liveness probe when setting breakpoints
54 # in debugger so K8s doesn't restart unresponsive container
55 enabled: true
56
57readiness:
58 initialDelaySeconds: 60
59 periodSeconds: 10
60
61service:
62 type: ClusterIP
63 name: sdc-onboarding-be
64 portName: sdc-onboarding-be
65 internalPort: 8445
66 externalPort: 8445
67 internalPort2: 8081
68 externalPort2: 8081
69
70## Persist data to a persitent volume
71persistence:
72 enabled: true
73
74 ## A manually managed Persistent Volume and Claim
75 ## Requires persistence.enabled: true
76 ## If defined, PVC must be created manually before volume will be bound
77 # existingClaim:
78 volumeReclaimPolicy: Retain
79
80 ## database data Persistent Volume Storage Class
81 ## If defined, storageClassName: <storageClass>
82 ## If set to "-", storageClassName: "", which disables dynamic provisioning
83 ## If undefined (the default) or set to null, no storageClassName spec is
84 ## set, choosing the default provisioner. (gp2 on AWS, standard on
85 ## GKE, AWS & OpenStack)
86 ##
87 # storageClass: "-"
88 accessMode: ReadWriteMany
89 size: 2Gi
90 mountPath: /dockerdata-nfs
91 mountSubPath: /sdc/sdc-cs/CS
92
kooper543d3aa2019-05-02 10:27:15 +000093##Certificate storage persistence
94##This is temporary solution for SDC-1980
95cert:
96 certDir: /var/lib/jetty/cert
97 persistence:
98 enabled: true
99 size: 10Mi
100 accessMode: ReadOnlyMany
101 volumeReclaimPolicy: Retain
102 mountSubPath: /sdc/onbaording/cert
103
104
Mandeep Khinda51a8b1b2018-04-24 20:05:32 +0000105ingress:
106 enabled: false
107
Mukula93baa82018-09-19 15:56:58 +0000108# Resource Limit flavor -By Default using small
109flavor: small
110# Segregation for Different environment (Small and Large)
111resources:
112 small:
113 limits:
114 cpu: 1
115 memory: 4Gi
116 requests:
117 cpu: 10m
118 memory: 1Gi
119 large:
120 limits:
121 cpu: 2
122 memory: 8Gi
123 requests:
124 cpu: 20m
125 memory: 2Gi
Mahendra Raghuwanshi35f83f52019-03-20 10:42:49 +0000126 unlimited: {}