Skip to content

Commit f486990

Browse files
authored
Update cloudbees-cd-defaults.yaml
1 parent 79f6541 commit f486990

File tree

1 file changed

+172
-5
lines changed

1 file changed

+172
-5
lines changed

cloudbees-cd/kubernetes/cloudbees-cd-defaults.yaml

Lines changed: 172 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,26 @@ images:
77
registry: "docker.io/cloudbees"
88

99
# Image tag of the image to pull
10-
tag: "10.0.2.144701_2.1.4_20201130"
10+
tag: "10.1.0.145850_2.1.12_20210224"
1111

1212
# The image pull policy to use
1313
pullPolicy: IfNotPresent
1414

15+
# Image pull secrets
16+
# Enable this option when using a private registry.
17+
# Secrets must be manually created in the namespace.
18+
# imagePullSecrets: <secret-name>
19+
20+
# Optional array of imagePullSecrets containing private registry credentials
21+
# Reference to one or more secrets to be used when pulling images
22+
# Ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
23+
# imagePullSecrets:
24+
# - name: "docker-registry"
25+
26+
imagePullSecrets:
27+
28+
29+
1530
# The name of the Flow server, usually its fully-qualified domain name, from
1631
# which the server will be available for all agents (resources) and other
1732
# components.
@@ -93,6 +108,36 @@ server:
93108
tolerations: []
94109
affinity: {}
95110

111+
# Kubernetes Liveness and Readiness Probes
112+
livenessProbe:
113+
initialDelaySeconds: 90
114+
periodSeconds: 60
115+
failureThreshold: 10
116+
timeoutSeconds: 10
117+
118+
readinessProbe:
119+
initialDelaySeconds: 60
120+
periodSeconds: 10
121+
failureThreshold: 10
122+
timeoutSeconds: 10
123+
124+
# Additional environment variables to set for flow-server
125+
extraEnvs: []
126+
# extraEnvs:
127+
# - name: FOO
128+
# value: "BAR"
129+
# - name: FOO
130+
# valueFrom:
131+
# secretKeyRef:
132+
# key: FOO
133+
# name: secret-resource
134+
135+
# Enable or disable sending telemetry data to CloudBees
136+
# Note: this option only works for the very first installation during server initialization.
137+
# For an already initialized server, this can be configured in its settings.
138+
telemetryData:
139+
enabled: true
140+
96141
#---------------------------------------------
97142
# Flow web server configuration section
98143
#---------------------------------------------
@@ -124,6 +169,18 @@ web:
124169
tolerations: []
125170
affinity: {}
126171

172+
# Additional environment variables to set for flow-web
173+
extraEnvs: []
174+
# extraEnvs:
175+
# - name: FOO
176+
# valueFrom:
177+
# secretKeyRef:
178+
# key: FOO
179+
# name: secret-resource
180+
# - name: FOO
181+
# value: BAR
182+
183+
127184
#---------------------------------------------
128185
# Flow repository configuration section
129186
#---------------------------------------------
@@ -175,6 +232,18 @@ repository:
175232
tolerations: []
176233
affinity: {}
177234

235+
# Additional environment variables to set for flow-repository
236+
extraEnvs: []
237+
# extraEnvs:
238+
# - name: FOO
239+
# valueFrom:
240+
# secretKeyRef:
241+
# key: FOO
242+
# name: secret-resource
243+
# - name: FOO
244+
# value: BAR
245+
246+
178247
#---------------------------------------------
179248
# Flow DevOps Insight configuration section
180249
#---------------------------------------------
@@ -215,9 +284,11 @@ dois:
215284
# the 'CBF_DOIS_ADMIN_PASSWORD' key.
216285
# If the password is an empty string, then user 'admin' will not be created
217286
# and administrative access will not be granted.
287+
# If reportUserPassword is an empty string, a random 20 characters password will be used
288+
218289
existingSecret:
219290
adminPassword:
220-
reportUserPassword: "changeme"
291+
reportUserPassword:
221292

222293
# The heap size in MB for Elasticsearch and Logstash services.
223294
esRam: 1024
@@ -227,14 +298,31 @@ dois:
227298
resources:
228299
limits:
229300
cpu: 1
230-
memory: 2Gi
301+
memory: 3Gi
231302
requests:
232303
cpu: 0.1
233304
memory: 2Gi
234305

235306
nodeSelector: {}
236307
tolerations: []
237308
affinity: {}
309+
# Adds openshift Node tuning label to DOIS Pods to configure vm.max_map_count value required to run Elasticsearch.
310+
# refer https://developers.redhat.com/blog/2019/11/12/using-the-red-hat-openshift-tuned-operator-for-elasticsearch/
311+
openshiftNodeTuning: false
312+
# Additional environment variables to set for DevOps Insight
313+
extraEnvs: []
314+
# extraEnvs:
315+
# - name: FOO
316+
# valueFrom:
317+
# secretKeyRef:
318+
# key: FOO
319+
# name: secret-resource
320+
# - name: FOO
321+
# value: BAR
322+
323+
# Enable or disable the privileged sysctlInitContainer if the sysctl vm.max_map_count setting is set by another method
324+
sysctlInitContainer:
325+
enabled: true
238326

239327
#---------------------------------------------
240328
# Flow bound agent configuration section
@@ -268,6 +356,19 @@ boundAgent:
268356
tolerations: []
269357
affinity: {}
270358

359+
360+
# Additional environment variables to set for bound agent
361+
extraEnvs: []
362+
# extraEnvs:
363+
# - name: FOO
364+
# valueFrom:
365+
# secretKeyRef:
366+
# key: FOO
367+
# name: secret-resource
368+
# - name: FOO
369+
# value: BAR
370+
371+
271372
#---------------------------------------------
272373
# Flow storage configuration section
273374
#---------------------------------------------
@@ -322,6 +423,7 @@ database:
322423
# server-secrets.yaml::dbSecret.
323424

324425
# existingSecret: <my-existing-secret>
426+
# If dbPassword is an empty string, a random 20 characters password will be used
325427

326428
dbName:
327429
dbUser:
@@ -335,6 +437,12 @@ database:
335437
# `oracle` - Oracle.
336438
dbType:
337439

440+
# External Mysql Connector URL to download during cloudbees flow installation
441+
mysqlConnector:
442+
enabled: true
443+
externalUrl:
444+
445+
338446
#---------------------------------------------
339447
# Flow server credentials configuration section
340448
#---------------------------------------------
@@ -344,6 +452,8 @@ flowCredentials:
344452
# Either specify the secret where the admin user password is stored under
345453
# the 'CBF_SERVER_ADMIN_PASSWORD' key (recommended for production) or specify
346454
# the adminPassword.
455+
# If adminPassword is an empty string, a random 20 characters password will be used
456+
347457
existingSecret:
348458
adminPassword:
349459

@@ -371,6 +481,34 @@ securityContext:
371481
runAsUser: 1000
372482
enabled: false
373483

484+
volumePermissions:
485+
enabled: true
486+
487+
podSecurityPolicy:
488+
create: false
489+
annotations: {}
490+
## Specify pod annotations
491+
## Ref: https://kubernetes.io/docs/concepts/policy/pod-security-policy/#apparmor
492+
## Ref: https://kubernetes.io/docs/concepts/policy/pod-security-policy/#seccomp
493+
## Ref: https://kubernetes.io/docs/concepts/policy/pod-security-policy/#sysctl
494+
##
495+
# seccomp.security.alpha.kubernetes.io/allowedProfileNames: '*'
496+
# seccomp.security.alpha.kubernetes.io/defaultProfileName: 'docker/default'
497+
# apparmor.security.beta.kubernetes.io/defaultProfileName: 'runtime/default'
498+
499+
#---------------------------------------------
500+
# RBAC resources
501+
#---------------------------------------------
502+
503+
rbac:
504+
## Specifies whether RBAC resources should be created
505+
##
506+
create: false
507+
serviceAccountName: cbflow
508+
role:
509+
## Rules to create.
510+
rules: []
511+
374512

375513
#---------------------------------------------
376514
# Network isolation configuration
@@ -394,7 +532,9 @@ networkIsolation:
394532
# applications as of now.
395533
zookeeper:
396534

397-
enabled: true
535+
image:
536+
tag: 3.6.2 # Container image tag for zookeeper container.
537+
398538
fullnameOverride: zookeeper
399539
replicaCount: 3
400540

@@ -477,4 +617,31 @@ nginx-ingress:
477617
##---------------------------------------------
478618
## Miscellaneous configuration section
479619
##---------------------------------------------
480-
demoMode: false
620+
clusteredMode: true
621+
622+
# Flag used to configure the cloudbees-sda chart.
623+
# Should not be used from a standalone cloudbees-flow installation.
624+
sda: false
625+
626+
627+
mariadb:
628+
enabled: false
629+
fullnameOverride: mariadb
630+
replication:
631+
enabled: false
632+
volumePermissions:
633+
enabled: true
634+
initdbScriptsConfigMap: mariadb-initdb-scripts
635+
existingSecret: mariadb-initdb-secret
636+
# must provide same user name same as database.dbUser(default it "flow")
637+
db:
638+
user: ""
639+
rootUser:
640+
# MariaDB admin password
641+
# If password is an empty string, a random 10 characters password will be used
642+
# ref: https://github.com/bitnami/bitnami-docker-mariadb#setting-the-root-password-on-first-run
643+
#
644+
password: ""
645+
master:
646+
nodeSelector:
647+
kubernetes.io/os: linux

0 commit comments

Comments
 (0)