-
Notifications
You must be signed in to change notification settings - Fork 31
/
values-example.yaml
308 lines (267 loc) · 11.4 KB
/
values-example.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
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
### DEPRECATED! ###
### Use Helm chart to install Codefresh Runner! ###
###########################################################################################################################
### This is a sample values yamls for usage with: ###
### venonactl install agent|runtime|monitor|app-proxy --values|-f values.yaml ###
### ###
### the values from values.yaml are applied to the templates in [pkg/templates/kubernetes](pkg/templates/kubernetes) ###
### See BuildValues() func in [store.go](pkg/store/store.go) for the format ###
###########################################################################################################################
##############################################
### ###
### Codefresh Authentication ###
### ###
##############################################
### Codefresh host --api-host and token --api-token
# CodefreshHost: https://g.codefresh.io # for on-prem installations
# Token: XXXXXXXXXXXXXXXXX.YYYYYYYYYYYYYYY # generate a token here: https://g.codefresh.io/user/settings
### insecure: skips certificates validation on TLS connections
### use this if you're getting TLS certificate validation
### errors during the installation
# insecure: true
##############################################
### ###
### Kubernetes Context ###
### ###
##############################################
### ConfigPath: --kube-config-path $KUBECONFIG: kubeconfig path
# ConfigPath: # default is $(HOME)/.kube/config
### Context: --context $KUBE_CONTEXT: which kubernetes context to use
# Context: some-context
### Namespace --kube-namespace $KUBE_NAMESPACE: namespace for the runner, runtime, monitor, app-proxy
# Namespace: r1
##############################################
### ###
### General Options ###
### ###
##############################################
### RuntimeEnvironmentName --runtimeName: used when installing a new runtime
### will be used to uniquely identify the runtime in Codefresh
# RuntimeEnvironmentName: my-unique-runtime-name
### RuntimeServiceAccount --kube-service-account: used when attaching a runtime to a runner
### default is: runner
# RuntimeServiceAccount: runner
### KubernetesHost: --kube-host: used when attaching a runtime to a runner to override the
### apiserver address that the runner will use to create resources on the runtime,
### by default we use the host from your kubeconfig.
# KubernetesHost: https://kubernetes.default.svc.cluster.local
### SkipClusterTest: only set to true if you want to skip the acceptance tests during the installation
# SkipClusterTest: true
### SkipClusterTest: if set to true, cluster integration will not be created in Codefresh
# SkipClusterIntegration: false
### ClusterId --clusterId: used when installing the monitor component
### this is the name of the cluster integration in codefresh
# ClusterId: cluster-name
### EnvVars: global environment variables that will be set on every component,
### including runtime components such as engine and dind.
### Use this if you need to set http_proxy variables
# EnvVars:
# HTTP_PROXY: http://123.123.123.123:8080
# HTTPS_PROXY: http://123.123.123.123:8080
# NO_PROXY: localhost
### DockerRegistry --docker-registry: The docker registry from which all components images will be pulled [default: docker.io].
### We will check connectivity from inside the cluster to this domain.
# DockerRegistry: docker.io
### NewRelicLicense: If a license key is provided we will use newrelic monitoring in the venona agent
### and app-proxy components
# NewRelicLicense: XXXX
# GitProviderURL: api.github.com # (optional) We will check connectivity to this URL when we run our acceptance tests.
###############################################
### Codefresh Runner ###
### ###
### Pulls and executes tasks from codefresh ###
###############################################
### Runner image: controls the runner pod image
# Image:
# Name: codefresh/venona
# Tag: 1.4.16 # default s.Version.Current.Version,
### Control runner pod resources
# Runner:
# resources:
# limits:
# cpu: 400m
# memory: 1200Mi
# requests:
# cpu: 200m
# memory: 500Mi
### AdditionalEnvVars --envVars: adds environment variables to the runner deployment
# AdditionalEnvVars:
# HTTP_PROXY: 10.20.0.35:8080
# HTTPS_PROXY: 10.20.0.35:8080
# NO_PROXY: 10.20.0.*
### NodeSelector --kube-node-selector: controls runner and dind-volume-provisioner pods
# NodeSelector: app_type=codefresh,cloud.google.com/gke-nodepool=default-pool
### Tolerations --tolerations: controls runner, dind-volume-provisioner and dind-lv-monitor
# Tolerations:
# - key: codefresh.io
# operator: Equal
# value: dinds
# effect: NoSchedule
### Agent options: generally you should only use them if you deleted your runner by mistake
# AgentToken --agentToken: used by the runner pod to authenticate to codefresh
# AgentId --agentId: used by codefresh to identify the runner
###############################################
### Storage ###
### ###
### codefresh pipelines volume provisioning ###
################################################
### StorageClass --storage-class: Use already existing storage class
### Note: when using this option volume provisioning components will
### not be installed.
# StorageClass: # storage class name
### Storage parameters for dind-volume-provisoner and dind-lv-monitor
# Storage:
# Annotations: # will be set on the storage class
# foo: bar
# Backend: local
# StorageClassName: # default is: dind-local-volumes-runner-<namespace>
# LocalVolumeParentDir: /var/lib/codefresh/dind-volumes
# AvailabilityZone:
# GoogleServiceAccount:
# AwsAccessKeyId:
# AwsSecretAccessKey:
# Encrypted: # encrypt volume, default is false
# VolumeProvisioner:
# Image: codefresh/dind-volume-provisioner:1.31.7
# NodeSelector:
# Tolerations:
# resources:
# limits:
# cpu: 400m
# memory: 1200Mi
# requests:
# cpu: 200m
# memory: 500Mi
# ServiceAccount:
# Annotations: # will be set on VolumeProvisioner and LocalVolumeMonitor service account
# foo: bar
# LocalVolumeMonitor:
# resources:
# limits:
# cpu: 400m
# memory: 1200Mi
# requests:
# cpu: 200m
# memory: 500Mi
#######################################
### Storage configuration examples: ###
#######################################
### Storage parameters example for Azure Disks
# Storage:
# Backend: azuredisk
# VolumeProvisioner:
# MountAzureJson: true
### Storage parameters example for gke-local-ssd
# Storage:
# Backend: local
# LocalVolumeParentDir: /mnt/disks/ssd0/codefresh-volumes
# NodeSelector: cloud.google.com/gke-local-ssd=true
### Storage parameter example for gke disks
# Storage:
# Backend: gcedisk
# AvailabilityZone: us-central1-a
# GoogleServiceAccount: >
# {serviceAccount.json context}
# NodeSelector: failure-domain.beta.kubernetes.io/zone=us-central1-a
### Storage parameter example for aws ebs disks
# Storage:
# Backend: ebs
# AvailabilityZone: us-east-1d
# AwsAccessKeyId: ABCDF
# AwsSecretAccessKey: ZYXWV
# Encrypted: # encrypt volume, default is false
# VolumeProvisioner:
# NodeSelector: kubernetes.io/role=master
# NodeSelector: failure-domain.beta.kubernetes.io/zone=us-east-1d
################################################
### Monitor ###
### ###
### reports cluster information to codefresh ###
################################################
# Monitor:
# Image:
# Name: codefresh/agent
# Tag: stable
# resources:
# limits:
# cpu: 400m
# memory: 1200Mi
# requests:
# cpu: 200m
# memory: 500Mi
# AdditionalEnvVars: # will be set on monitor deployment
# SOME_VAR: SOME_VALUE
# Helm3: false # is the cluster using helm3
# ServiceAccount:
# Annotations:
# foo: bar
########################################################
### App-Proxy ###
### ###
### communicates with "behind-firewall" integrations ###
########################################################
# AppProxy:
# Image:
# Name: codefresh/cf-app-proxy
# Tag: latest # default is latest
# resources:
# limits:
# cpu: 500m
# memory: 1200Mi
# requests:
# cpu: 200m
# memory: 500Mi
# AdditionalEnvVars: # will be set on app-proxy deployment
# SOME_VAR: SOME_VALUE
# Ingress:
# Host: example.com # The DNS hostname the ingress will use
# IngressClass: nginx # If you have multiple ingress-controllers in the cluster - specify the right ingress class
# TLSSecret: cert-secret-name # Use this to configure the TLS certs for the ingress
# PathPrefix: /app-proxy # default is '/'. Use this if you share the hostname with other services
# Annotations: # Extra annotations that will be set on the ingress object
# nginx.ingress.kubernetes.io/whitelist-source-range: 123.123.123.123/130
# ServiceAccount:
# Annotations:
# foo: bar
########################################################
### Codefresh Runtime ###
### ###
### configure engine and dind pods ###
########################################################
# Runtime:
# NodeSelector: # dind and engine pods node-selector (--build-node-selector)
# foo: bar
# tolerations: # dind and engine pods tolerations
# - key: arch
# operator: Equal
# value: aarch64
# effect: NoSchedule
# ServiceAccount: # will be used by the engine and dind pods
# Annotations:
# foo: bar
# AdditionalEnvVars: # will be set on engine and dind pods
# SOME_VAR: SOME_VALUE
# resources: # dind pod resources
# limits:
# cpu: 500m
# memory: 1200Mi
# requests:
# cpu: 200m
# memory: 500Mi
# userVolumeMounts: # will be set for dind pod and will be injcted for each container - https://codefresh.io/docs/docs/administration/codefresh-runner/#custom-volume-mounts
# my-test:
# name: test
# mountPath: /etc/ssl/cert
# readOnly: true
# userVolumes: # will be set for dind pod and will be injcted for each container - https://codefresh.io/docs/docs/administration/codefresh-runner/#custom-volume-mounts
# test:
# name: test
# secret:
# secretName: test-secret
########################################################
### Logging ###
### ###
### configure build logging solution ###
########################################################
# Logging:
# FirebaseHost: firebase.io # (optional) We will check connectivity to this URL when we run our acceptance tests.