forked from gardener/gardener
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontrollers.go
123 lines (120 loc) · 3.83 KB
/
controllers.go
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
// SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors
//
// SPDX-License-Identifier: Apache-2.0
package kubernetes
import versionutils "github.com/gardener/gardener/pkg/utils/version"
// APIGroupControllerMap is a map for the Kubernetes API groups and the corresponding controllers for them.
var APIGroupControllerMap = map[string]map[string]versionutils.VersionRange{
"internal/v1alpha1": {
"storage-version-gc": {},
},
"admissionregistration/v1beta1": {
"validatingadmissionpolicy-status-controller": {AddedInVersion: "1.28", RemovedInVersion: "1.30"},
},
"admissionregistration/v1": {
"validatingadmissionpolicy-status-controller": {AddedInVersion: "1.30"},
},
"apps/v1": {
"daemonset": {},
"deployment": {},
"replicaset": {},
"statefulset": {},
},
"apps/v1beta1": {
"disruption": {},
},
"authentication/v1": {
"attachdetach": {},
"persistentvolume-expander": {},
},
"authorization/v1": {
"csrapproving": {},
},
"autoscaling/v1": {
"horizontalpodautoscaling": {},
},
"autoscaling/v2": {
"horizontalpodautoscaling": {},
},
"batch/v1": {
"cronjob": {},
"job": {},
"ttl-after-finished": {},
},
"certificates/v1": {
"csrapproving": {},
"csrcleaner": {},
"csrsigning": {},
},
"certificates/v1beta1": {
"csrsigning": {},
},
"coordination/v1": {
"nodelifecycle": {},
"storage-version-gc": {},
},
"discovery/v1": {
"endpointslice": {},
"endpointslicemirroring": {},
},
"extensions/v1beta1": {
"disruption": {},
},
"networking/v1alpha1": {
"service-cidr-controller": {AddedInVersion: "1.29"},
},
"policy/v1": {
"disruption": {},
},
"rbac/v1": {
"clusterrole-aggregation": {},
},
"resource/v1alpha2": {
"resource-claim-controller": {AddedInVersion: "1.27"},
},
"storagemigration/v1alpha1": {
"storage-version-migrator-controller": {AddedInVersion: "1.30"},
},
"v1": {
"attachdetach": {},
"bootstrapsigner": {},
"cloud-node": {},
"cloud-node-lifecycle": {},
"cronjob": {},
"csrapproving": {},
"csrsigning": {},
"daemonset": {},
"deployment": {},
"disruption": {},
"endpoint": {},
"endpointslice": {},
"endpointslicemirroring": {},
"ephemeral-volume": {},
"garbagecollector": {RemovedInVersion: "1.30"},
"horizontalpodautoscaling": {},
"job": {},
"legacy-service-account-token-cleaner": {AddedInVersion: "1.28"},
"namespace": {},
"nodelifecycle": {},
"persistentvolume-binder": {},
"persistentvolume-expander": {},
"podgc": {},
"pv-protection": {},
"pvc-protection": {},
"replicaset": {},
"replicationcontroller": {},
"resource-claim-controller": {AddedInVersion: "1.27"},
"resourcequota": {},
"root-ca-cert-publisher": {},
"route": {},
"service": {},
"service-cidr-controller": {AddedInVersion: "1.29"},
"serviceaccount": {},
"serviceaccount-token": {},
"statefulset": {},
"taint-eviction-controller": {AddedInVersion: "1.29"},
"tokencleaner": {},
"ttl": {},
"ttl-after-finished": {},
},
}