[SDC] Update SDC images to 1.13.6
[oom.git] / kubernetes / sdc / components / sdc-cs / values.yaml
1 # Copyright © 2017 Amdocs, AT&T, Bell Canada
2 # Modifications Copyright © 2018  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   sdc_cassandra:
25     #This flag allows SDC to instantiate its own cluster, serviceName
26     #should be sdc-cs if this flag is enabled
27     localCluster: false
28
29     # in case of a local cassandra cluster
30     # flag to enable the DB creation via k8ssandra-operator
31     useOperator: true
32     # if useOperator set to "true", set "enableServiceAccount to "false"
33     # as the SA is created by the Operator
34     enableServiceAccount: false
35
36     #The cassandra service name to connect to (default: shared cassandra service)
37     #in case of using k8ssandra-operator in the common cassandra installation
38     #the service name is:
39     serviceName: cassandra-dc1-service
40     #in case of local k8ssandra-operator instance it is
41     #serviceName: sdc-cs-dc1-service
42     #in case the older cassandra installation is used:
43     #serviceName: cassandra
44
45     #Shared cassandra cluster replicaCount, should be changed if localCluster is enabled
46     #to match with its own cluster replica
47     replicaCount: 3
48     clusterName: cassandra
49     #datacenter name (use "dc1" in case of k8ssandra-operator, otherwise "Pod")
50     dataCenter: dc1
51     #cqlVersion for cassandra 3.11.* must be "3.4.4" and cassandra 4.* must be "3.4.5"
52     cqlVersion: "3.4.5"
53
54 #################################################################
55 # Application configuration defaults.
56 #################################################################
57
58 #Used only if localCluster is enabled. Instantiates SDC's own cassandra cluster
59 cassandra:
60   nameOverride: sdc-cs
61   replicaCount: 3
62   service:
63     name: sdc-cs
64   serviceAccount:
65     nameOverride: sdc-cs
66   persistence:
67     mountSubPath: sdc/sdc-cs/CS
68     enabled: true
69   k8ssandraOperator:
70     config:
71       clusterName: sdc-cs
72
73 # application image
74 repository: nexus3.onap.org:10001
75 image: onap/sdc-cassandra:1.13.6
76 cassandraInitImage: onap/sdc-cassandra-init:1.13.6
77 pullPolicy: Always
78
79 config:
80   release: latest
81   maxHeapSize: "1536M"
82   heapNewSize: "512M"
83
84 #environment file
85 env:
86   name: AUTO
87
88 # default number of instances
89 replicaCount: 1
90
91 nodeSelector: {}
92
93 affinity: {}
94
95 # probe configuration parameters
96 liveness:
97   initialDelaySeconds: 60
98   periodSeconds: 10
99   # necessary to disable liveness probe when setting breakpoints
100   # in debugger so K8s doesn't restart unresponsive container
101   enabled: true
102
103 readiness:
104   initialDelaySeconds: 120
105   periodSeconds: 10
106
107 service:
108   type: ClusterIP
109   name: sdc-cs
110   portName: sdc-cs
111   externalPort: 9042
112   internalPort: 9042
113
114
115 ## Persist data to a persitent volume
116 persistence:
117   enabled: true
118
119   ## A manually managed Persistent Volume and Claim
120   ## Requires persistence.enabled: true
121   ## If defined, PVC must be created manually before volume will be bound
122   # existingClaim:
123   volumeReclaimPolicy: Retain
124
125   ## database data Persistent Volume Storage Class
126   ## If defined, storageClassName: <storageClass>
127   ## If set to "-", storageClassName: "", which disables dynamic provisioning
128   ## If undefined (the default) or set to null, no storageClassName spec is
129   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
130   ##   GKE, AWS & OpenStack)
131   ##
132   # storageClass: "-"
133   accessMode: ReadWriteOnce
134   size: 2Gi
135   mountPath: /dockerdata-nfs
136   mountSubPath: /sdc/sdc-cs/CS
137
138 ingress:
139   enabled: false
140
141 #Pods Service Account
142 serviceAccount:
143   nameOverride: sdc-cs
144   roles:
145     - read
146
147 wait_for_job_container:
148   containers:
149     - '{{ include "common.name" . }}-job'