-
Notifications
You must be signed in to change notification settings - Fork 271
Expand file tree
/
Copy pathconfigmap.yaml
More file actions
40 lines (40 loc) · 1.78 KB
/
configmap.yaml
File metadata and controls
40 lines (40 loc) · 1.78 KB
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
apiVersion: v1
kind: ConfigMap
metadata:
name: fleet-controller
data:
config: |
{
"systemDefaultRegistry": "{{ template "system_default_registry" . }}",
"agentImage": "{{ template "system_default_registry" . }}{{.Values.agentImage.repository}}:{{.Values.agentImage.tag}}",
"agentImagePullPolicy": "{{ .Values.agentImage.imagePullPolicy }}",
"apiServerURL": "{{.Values.apiServerURL}}",
"apiServerCA": "{{b64enc .Values.apiServerCA}}",
"agentCheckinInterval": "{{.Values.agentCheckinInterval}}",
"agentTLSMode": "{{.Values.agentTLSMode}}",
"agentWorkers": {
"bundledeployment": "{{.Values.agent.reconciler.workers.bundledeployment}}",
"drift": "{{.Values.agent.reconciler.workers.drift}}"
},
"clusterMonitor": {
"enabled": {{.Values.clusterMonitor.enabled}},
"interval": "{{.Values.clusterMonitor.interval}}",
"threshold": "{{.Values.clusterMonitor.threshold}}"
},
{{ if .Values.garbageCollectionInterval }}
"garbageCollectionInterval": "{{.Values.garbageCollectionInterval}}",
{{ end }}
"ignoreClusterRegistrationLabels": {{.Values.ignoreClusterRegistrationLabels}},
"bootstrap": {
"paths": "{{.Values.bootstrap.paths}}",
"repo": "{{.Values.bootstrap.repo}}",
"secret": "{{.Values.bootstrap.secret}}",
"clusterLabels": {{toJson .Values.bootstrap.clusterLabels}},
"branch": "{{.Values.bootstrap.branch}}",
"namespace": "{{.Values.bootstrap.namespace}}",
"agentNamespace": "{{.Values.bootstrap.agentNamespace}}"
},
"webhookReceiverURL": "{{.Values.webhookReceiverURL}}",
"githubURLPrefix": "{{.Values.githubURLPrefix}}",
"gitClientTimeout": "{{.Values.gitClientTimeout}}"
}