/
values.yaml
260 lines (241 loc) · 6.21 KB
/
values.yaml
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
# Service and ingress.
service:
port: 8080
internalPort:
type: "NodePort"
ingress:
enabled: false
annotations: {}
# kubernetes.io/ingress.allow-http: "false"
# kubernetes.io/ingress.global-static-ip-name: pipecd
# ServiceAccount
serviceAccount:
# Specifies whether a service account should be created
create: false
# The name of existing ServiceAccount to use when create is false.
name: ""
# Annotations to add to the service account
annotations: {}
# Workloads.
gateway:
replicasCount: 1
imageTag: v1.18.3
resources: {}
internalTLS:
enabled: false
server:
image:
repository: ghcr.io/pipe-cd/pipecd
# Overrides the image tag whose default is the chart appVersion.
tag: ""
replicasCount: 1
args:
cacheAddress: ""
enableGRPCReflection: false
secureCookie: false
# One of "humanize", "json", or "console" is available.
logEncoding: humanize
# One of "debug", "info", "warn", "error", "dpanic", "panic" or "fatal" is available.
logLevel: info
metrics: true
resources: {}
env: []
cache:
imageTag: "5.0.5-alpine3.9"
password: ""
resources: {}
ops:
image:
repository: ghcr.io/pipe-cd/pipecd
# Overrides the image tag whose default is the chart appVersion.
tag: ""
args:
cacheAddress: ""
# One of "humanize", "json", or "console" is available.
logEncoding: humanize
# One of "debug", "info", "warn", "error", "dpanic", "panic" or "fatal" is available.
logLevel: info
metrics: true
resources: {}
cloudSQLProxy:
enabled: false
version: 1.17
args:
instanceConnectionName: ""
port: 3306
resources: {}
mysql:
image: mysql
imageTag: 8.0.33
resources: {}
port: 3306
minio:
imageTag: "RELEASE.2020-08-26T00-00-49Z"
resources: {}
port: 9000
# Control Plane Configurations.
config:
# Specifies whether a ConfigMap for control plane configuration should be created
create: true
# The name of the ConfigMap to use when create is false.
name: ""
# The name of the configuration file.
fileName: control-plane-config.yaml
# Configuration data for control plane when create is false.
data: |
apiVersion: "pipecd.dev/v1beta1"
kind: ControlPlane
spec:
# Secret files that can be used in above configuration.
secret:
# Specifies whether a Secret for storing sensitive data should be created.
create: true
# The name of the Secret should be mounted to container.
name: "pipecd-secrets"
mountPath: /etc/pipecd-secret
encryptionKey:
fileName: "encryption-key"
data: ""
firestoreServiceAccount:
fileName: "firestore-service-account"
data: ""
gcsServiceAccount:
fileName: "gcs-service-account"
data: ""
cloudSQLServiceAccount:
fileName: "cloud-sql-service-account"
data: ""
minioAccessKey:
fileName: "minio-access-key"
data: ""
minioSecretKey:
fileName: "minio-secret-key"
data: ""
internalTLSKey:
fileName: "internal-tls.key"
data: ""
internalTLSCert:
fileName: "internal-tls.cert"
data: ""
# Optional configuration for GKE.
backendConfig:
enabled: false
iap:
enabled: false
secretName: pipecd-iap
managedCertificate:
enabled: false
domains: []
cors:
enabled: false
allowOrigins:
- "http://localhost:9090"
quickstart:
enabled: false
monitoring:
# If true, prometheus and grafana sub-charts will be installed
enabled: false
# If true, cluster stats will be collected and shown on the dashboard.
# It includes stats for Nodes, Pods and so on.
clusterStats: false
# Optional configuration for GKE.
backendConfig:
enabled: false
iap:
enabled: false
secretName: pipecd-monitoring-iap
managedCertificate:
enabled: false
domains: []
# All directives inside this section will be directly sent to the prometheus chart.
# Head to the below link to see all available values.
# https://github.com/prometheus-community/helm-charts/blob/main/charts/prometheus/values.yaml
prometheus:
pushgateway:
enabled: false
nodeExporter:
enabled: true
service:
hostPort: 9100
servicePort: 9100
kubeStateMetrics:
enabled: true
configmapReload:
prometheus:
enabled: true
alertmanager:
enabled: true
alertmanager:
enabled: true
useClusterRole: true
alertmanagerFiles:
alertmanager.yml:
# The root node of the routing tree.
route: {}
# A list of notification receivers.
receivers: []
server:
configMapOverrideName: prometheus-server
retention: 7d
persistentVolume:
size: 4Gi
strategy:
type: Recreate
# All directives inside this section will be directly sent to the grafana chart.
# Head to the below link to see all available values.
# https://github.com/grafana/helm-charts/tree/main/charts/grafana
grafana:
rbac:
pspEnabled: false
adminPassword: admin
ingress:
enabled: false
hosts: []
path: /
pathType: Prefix
sidecar:
datasources:
enabled: true
# Label that the configmaps with datasources are marked with
label: grafana_datasource
dashboards:
enabled: true
# Label that the configmaps with dashboards are marked with
label: grafana_dashboard
provider:
foldersFromFilesStructure: true
extraConfigmapMounts:
- name: datasources
configMap: pipecd-grafana-datasources
mountPath: "/etc/grafana/provisioning/datasources/datasources.yaml"
subPath: datasources.yaml
readOnly: true
# TODO: Manage Grafana dashboard providers as a ConfigMap
dashboardProviders:
dashboardproviders.yaml:
apiVersion: 1
providers:
- name: 'Cluster'
orgId: 1
folder: 'Cluster'
type: file
disableDeletion: false
allowUiUpdates: false
options:
path: /tmp/dashboards/cluster
- name: 'Control-Plane'
orgId: 1
folder: 'Control-Plane'
type: file
disableDeletion: false
allowUiUpdates: false
options:
path: /tmp/dashboards/control-plane
- name: 'Piped'
orgId: 1
folder: 'Piped'
type: file
disableDeletion: false
allowUiUpdates: false
options:
path: /tmp/dashboards/piped