[GENERAL] Use readiness container v3.0.1
[oom.git] / kubernetes / sdc / charts / sdc-onboarding-be / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
2 # Modifications Copyright © 2018 AT&T, ZTE
3 #
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 #################################################################
19 global:
20   nodePortPrefix: 302
21   readinessImage: onap/oom/readiness:3.0.1
22   loggingRepository: docker.elastic.co
23   loggingImage: beats/filebeat:5.5.0
24
25 #################################################################
26 # Application configuration defaults.
27 #################################################################
28 # application image
29 repository: nexus3.onap.org:10001
30 image: onap/sdc-onboard-backend:1.6.7
31 onboardingInitImage: onap/sdc-onboard-cassandra-init:1.6.7
32 pullPolicy: Always
33
34 # flag to enable debugging - application support required
35 debugEnabled: false
36
37 config:
38   javaOptions: "-Xmx1g -Xms1g"
39   cassandraSslEnabled: "false"
40
41 # default number of instances
42 replicaCount: 1
43
44 nodeSelector: {}
45
46 affinity: {}
47
48 # probe configuration parameters
49 liveness:
50   initialDelaySeconds: 120
51   periodSeconds: 60
52   timeoutSeconds: 15
53   # necessary to disable liveness probe when setting breakpoints
54   # in debugger so K8s doesn't restart unresponsive container
55   enabled: true
56
57 readiness:
58   initialDelaySeconds: 120
59   periodSeconds: 60
60   timeoutSeconds: 15
61
62 service:
63   type: ClusterIP
64   name: sdc-onboarding-be
65   portName: sdc-onboarding-be
66   internalPort: 8445
67   externalPort: 8445
68   internalPort2: 8081
69   externalPort2: 8081
70
71 ## Persist data to a persitent volume
72 persistence:
73   enabled: true
74
75   ## A manually managed Persistent Volume and Claim
76   ## Requires persistence.enabled: true
77   ## If defined, PVC must be created manually before volume will be bound
78   # existingClaim:
79   volumeReclaimPolicy: Retain
80
81   ## database data Persistent Volume Storage Class
82   ## If defined, storageClassName: <storageClass>
83   ## If set to "-", storageClassName: "", which disables dynamic provisioning
84   ## If undefined (the default) or set to null, no storageClassName spec is
85   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
86   ##   GKE, AWS & OpenStack)
87   ##
88   # storageClass: "-"
89   accessMode: ReadWriteOnce
90   size: 2Gi
91   mountPath: /dockerdata-nfs
92   mountSubPath: /sdc/sdc-cs/CS
93
94 ##Certificate storage persistence
95 ##This is temporary solution for SDC-1980
96 cert:
97   certDir: /var/lib/jetty/cert
98   persistence:
99     enabled: true
100     size: 10Mi
101     accessMode: ReadWriteOnce
102     volumeReclaimPolicy: Retain
103     mountSubPath: /sdc/onbaording/cert
104
105 securityContext:
106   fsGroup: 35953
107   runAsUser: 352070
108
109 ingress:
110   enabled: false
111
112 # Resource Limit flavor -By Default using small
113 flavor: small
114 # Segregation for Different environment (Small and Large)
115 resources:
116   small:
117     limits:
118       cpu: 1
119       memory: 4Gi
120     requests:
121       cpu: 10m
122       memory: 1Gi
123   large:
124     limits:
125       cpu: 2
126       memory: 8Gi
127     requests:
128       cpu: 20m
129       memory: 2Gi
130   unlimited: {}