-
Notifications
You must be signed in to change notification settings - Fork 1
/
values.yml
106 lines (88 loc) · 3.43 KB
/
values.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
# Copyright (c) CloudBees, Inc.
#https://artifacthub.io/packages/helm/cloudbees/cloudbees-flow/
#https://docs.cloudbees.com/docs/cloudbees-cd/latest/install-k8s/configuration#cloudbees_helm_charts
#https://github.com/cloudbees/cloudbees-examples/blob/master/cloudbees-cd/kubernetes/cloudbees-cd-demo-multizone.yaml
clusteredMode: false
##---------------------------------------------
## Flow storage configuration section
##---------------------------------------------
storage:
volumes:
serverPlugins:
accessMode: ReadWriteOnce
# Storage class for plugins directory. Currently it has to be shared across server and web replicas.
# Server and web are co-located using hard affinity rule for non clusteredMode. StorageClass is null here to ensure the same behavior across all cloud providers
# (it forces storage class to fall back to "default" disk based ReadWriteOnce platform specific storage class)
storageClass: null
storage: 5Gi
repositoryStorage:
storage: 10Gi
##---------------------------------------------
## Flow components/workloads configuration section
##---------------------------------------------
server:
resources:
limits:
cpu: 2
requests:
cpu: 2
# Install mariadb chart for demo mode
# and create a database and user for Flow to use.
# Note that the database user name and password
# specified in the `initdbScripts` section must
# match the values in the `database` section below.
mariadb:
enabled: true
db:
user: "flow"
database:
dbName: "demo"
dbUser: "flow"
dbType: "mariadb"
dbPort: 3306
clusterEndpoint: "mariadb"
# externalEndpoint: ""
##---------------------------------------------
## Flow server admin credentials section
##---------------------------------------------
flowCredentials:
## Name of the secret containing the admin user password to use. If set, the admin user password
## will be read from the secret instead of the plain-text `adminPassword` (not recommended for production).
##
## The data field must contain base64 encoded value for key 'CBF_SERVER_ADMIN_PASSWORD'.
## E.g., kubectl create secret generic flow-admin-secret --from-literal=CBF_SERVER_ADMIN_PASSWORD='rrx!*d$z75Dsb'
##
## Uncomment the following line to set the name of the secret to use to read the admin user password.
# existingSecret: flow-admin-secret
##
## IMPORTANT: This is clearly not meant for production use and is only meant for demo environments
## where security may not be a concern. Use of `existingSecret` is preferred.
adminPassword:
##---------------------------------------------
## Plataform
##---------------------------------------------
platform: eks
#---------------------------------------------
# Ingress configuration section
#---------------------------------------------
ingress:
enabled: true
host: ${host_name}
class: alb
annotations:
alb.ingress.kubernetes.io/scheme: internet-facing
alb.ingress.kubernetes.io/certificate-arn: ${cert_arn}
external-dns.alpha.kubernetes.io/hostname: ${host_name}
external-dns.alpha.kubernetes.io/alias: "true"
nginx-ingress:
enabled: false
##----------------------------------------------------
## Flow multizone gateway pair configuration section
##----------------------------------------------------
internalGatewayAgent:
enabled: true
externalGatewayAgent:
enabled: true
service:
## Set the host name same as ingress.host .
publicHostName: ${host_name}