24ad1389d0bda53395ba66011ba7e154725dd73d
[oom.git] / kubernetes / sdc / charts / sdc-onboarding-be / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #       http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 #################################################################
16 # Global configuration defaults.
17 #################################################################
18 global:
19   nodePortPrefix: 302
20   readinessRepository: oomk8s
21   readinessImage: readiness-check:2.0.0
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.2-STAGING-latest
31 onboardingInitImage: onap/sdc-onboard-cassandra-init:1.2-STAGING-latest
32 pullPolicy: Always
33
34 # flag to enable debugging - application support required
35 debugEnabled: false
36
37 config:
38   javaOptions: "-Xdebug -agentlib:jdwp=transport=dt_socket,address=4001,server=y,suspend=n -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: 60
51   periodSeconds: 10
52   # necessary to disable liveness probe when setting breakpoints
53   # in debugger so K8s doesn't restart unresponsive container
54   enabled: true
55
56 readiness:
57   initialDelaySeconds: 60
58   periodSeconds: 10
59
60 service:
61   type: ClusterIP
62   name: sdc-onboarding-be
63   portName: sdc-onboarding-be
64   internalPort: 8445
65   externalPort: 8445
66   internalPort2: 8081
67   externalPort2: 8081
68
69 ## Persist data to a persitent volume
70 persistence:
71   enabled: true
72
73   ## A manually managed Persistent Volume and Claim
74   ## Requires persistence.enabled: true
75   ## If defined, PVC must be created manually before volume will be bound
76   # existingClaim:
77   volumeReclaimPolicy: Retain
78
79   ## database data Persistent Volume Storage Class
80   ## If defined, storageClassName: <storageClass>
81   ## If set to "-", storageClassName: "", which disables dynamic provisioning
82   ## If undefined (the default) or set to null, no storageClassName spec is
83   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
84   ##   GKE, AWS & OpenStack)
85   ##
86   # storageClass: "-"
87   accessMode: ReadWriteMany
88   size: 2Gi
89   mountPath: /dockerdata-nfs
90   mountSubPath: /sdc/sdc-cs/CS
91
92 ingress:
93   enabled: false
94
95 resources: {}
96   # We usually recommend not to specify default resources and to leave this as a conscious
97   # choice for the user. This also increases chances charts run on environments with little
98   # resources, such as Minikube. If you do want to specify resources, uncomment the following
99   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
100   #
101   # Example:
102   # Configure resource requests and limits
103   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
104   # Minimum memory for development is 2 CPU cores and 4GB memory
105   # Minimum memory for production is 4 CPU cores and 8GB memory
106 #resources:
107 #  limits:
108 #    cpu: 2
109 #    memory: 4Gi
110 #  requests:
111 #    cpu: 2
112 #    memory: 4Gi