aboutsummaryrefslogtreecommitdiffhomepage
path: root/data/kubernetes-api.json5
blob: e063edad480be58c7bb18b680d135d2af9d3a08d (plain)
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
{
  // https://kubernetes.io/docs/reference/using-api/deprecation-guide/#v1-16
  // https://kubernetes.io/docs/reference/using-api/deprecation-guide/#networkpolicy-v116
  NetworkPolicy: ['extensions/v1beta1', 'networking.k8s.io/v1'],
  // https://kubernetes.io/docs/reference/using-api/deprecation-guide/#daemonset-v116
  DaemonSet: ['extensions/v1beta1', 'apps/v1beta2', 'apps/v1'],
  // https://kubernetes.io/docs/reference/using-api/deprecation-guide/#deployment-v116
  Deployment: ['extensions/v1beta1', 'apps/v1beta1', 'apps/v1beta2', 'apps/v1'],
  // https://kubernetes.io/docs/reference/using-api/deprecation-guide/#statefulset-v116
  StatefulSet: ['apps/v1beta1', 'apps/v1beta2', 'apps/v1'],
  // https://kubernetes.io/docs/reference/using-api/deprecation-guide/#replicaset-v116
  ReplicaSet: ['extensions/v1beta1', 'apps/v1beta1', 'apps/v1beta2', 'apps/v1'],
  // https://kubernetes.io/docs/reference/using-api/deprecation-guide/#psp-v116
  PodSecurityPolicy: ['extensions/v1beta1', 'policy/v1beta1'],
  // https://kubernetes.io/docs/reference/using-api/deprecation-guide/#v1-22
  // https://kubernetes.io/docs/reference/using-api/deprecation-guide/#webhook-resources-v122
  MutatingWebhookConfiguration: [
    'admissionregistration.k8s.io/v1beta1',
    'admissionregistration.k8s.io/v1',
  ],
  ValidatingWebhookConfiguration: [
    'admissionregistration.k8s.io/v1beta1',
    'admissionregistration.k8s.io/v1',
  ],
  // https://kubernetes.io/docs/reference/using-api/deprecation-guide/#customresourcedefinition-v122
  CustomResourceDefinition: [
    'apiextensions.k8s.io/v1beta1',
    'apiextensions.k8s.io/v1',
  ],
  // https://kubernetes.io/docs/reference/using-api/deprecation-guide/#apiservice-v122
  APIService: ['apiregistration.k8s.io/v1beta1', 'apiregistration.k8s.io/v1'],
  // https://kubernetes.io/docs/reference/using-api/deprecation-guide/#tokenreview-v122
  TokenReview: ['authentication.k8s.io/v1beta1', 'authentication.k8s.io/v1'],
  // https://kubernetes.io/docs/reference/using-api/deprecation-guide/#subjectaccessreview-resources-v122
  LocalSubjectAccessReview: [
    'authorization.k8s.io/v1beta1',
    'authorization.k8s.io/v1',
  ],
  SelfSubjectAccessReview: [
    'authorization.k8s.io/v1beta1',
    'authorization.k8s.io/v1',
  ],
  SubjectAccessReview: [
    'authorization.k8s.io/v1beta1',
    'authorization.k8s.io/v1',
  ],
  SelfSubjectRulesReview: [
    'authorization.k8s.io/v1beta1',
    'authorization.k8s.io/v1',
  ],
  // https://kubernetes.io/docs/reference/using-api/deprecation-guide/#certificatesigningrequest-v122
  CertificateSigningRequest: [
    'certificates.k8s.io/v1beta1',
    'certificates.k8s.io/v1',
  ],
  // https://kubernetes.io/docs/reference/using-api/deprecation-guide/#lease-v122
  Lease: ['coordination.k8s.io/v1beta1', 'coordination.k8s.io/v1'],
  // https://kubernetes.io/docs/reference/using-api/deprecation-guide/#ingress-v122
  Ingress: [
    'extensions/v1beta1',
    'networking.k8s.io/v1beta1',
    'networking.k8s.io/v1',
  ],
  // https://kubernetes.io/docs/reference/using-api/deprecation-guide/#ingressclass-v122
  IngressClass: ['networking.k8s.io/v1beta1', 'networking.k8s.io/v1'],
  // https://kubernetes.io/docs/reference/using-api/deprecation-guide/#rbac-resources-v122
  ClusterRole: [
    'rbac.authorization.k8s.io/v1beta1',
    'rbac.authorization.k8s.io/v1',
  ],
  ClusterRoleBinding: [
    'rbac.authorization.k8s.io/v1beta1',
    'rbac.authorization.k8s.io/v1',
  ],
  Role: ['rbac.authorization.k8s.io/v1beta1', 'rbac.authorization.k8s.io/v1'],
  RoleBinding: [
    'rbac.authorization.k8s.io/v1beta1',
    'rbac.authorization.k8s.io/v1',
  ],
  // https://kubernetes.io/docs/reference/using-api/deprecation-guide/#priorityclass-v122
  PriorityClass: ['scheduling.k8s.io/v1beta1', 'scheduling.k8s.io/v1'],
  // https://kubernetes.io/docs/reference/using-api/deprecation-guide/#storage-resources-v122
  CSIDriver: ['storage.k8s.io/v1beta1', 'storage.k8s.io/v1'],
  CSINode: ['storage.k8s.io/v1beta1', 'storage.k8s.io/v1'],
  StorageClass: ['storage.k8s.io/v1beta1', 'storage.k8s.io/v1'],
  VolumeAttachment: ['storage.k8s.io/v1beta1', 'storage.k8s.io/v1'],
  // https://kubernetes.io/docs/reference/using-api/deprecation-guide/#v1-25
  // https://kubernetes.io/docs/reference/using-api/deprecation-guide/#cronjob-v125
  CronJob: ['batch/v1beta1', 'batch/v1'],
  // https://kubernetes.io/docs/reference/using-api/deprecation-guide/#endpointslice-v125
  EndpointSlice: ['discovery.k8s.io/v1beta1', 'discovery.k8s.io/v1'],
  // https://kubernetes.io/docs/reference/using-api/deprecation-guide/#event-v125
  Event: ['events.k8s.io/v1beta1', 'events.k8s.io/v1'],
  // https://kubernetes.io/docs/reference/using-api/deprecation-guide/#horizontalpodautoscaler-v125
  HorizontalPodAutoscaler: ['autoscaling/v2beta1', 'autoscaling/v2'],
  // https://kubernetes.io/docs/reference/using-api/deprecation-guide/#poddisruptionbudget-v125
  PodDisruptionBudget: ['policy/v1beta1', 'policy/v1'],
  // https://kubernetes.io/docs/reference/using-api/deprecation-guide/#runtimeclass-v125
  RuntimeClass: ['node.k8s.io/v1beta1', 'node.k8s.io/v1'],
  // https://kubernetes.io/docs/reference/using-api/deprecation-guide/#v1-26
  // https://kubernetes.io/docs/reference/using-api/deprecation-guide/#flowcontrol-resources-v126
  FlowSchema: [
    'flowcontrol.apiserver.k8s.io/v1beta1',
    'flowcontrol.apiserver.k8s.io/v1beta2',
  ],
  PriorityLevelConfiguration: [
    'flowcontrol.apiserver.k8s.io/v1beta1',
    'flowcontrol.apiserver.k8s.io/v1beta2',
  ],
  // https://kubernetes.io/docs/reference/using-api/deprecation-guide/#v1-27
  // https://kubernetes.io/docs/reference/using-api/deprecation-guide/#csistoragecapacity-v127
  CSIStorageCapacity: ['storage.k8s.io/v1beta1', 'storage.k8s.io/v1'],

  // https://fluxcd.io
  Alert: [
    'notification.toolkit.fluxcd.io/v1beta2',
    'notification.toolkit.fluxcd.io/v1beta3',
  ],
  Bucket: [
    'source.toolkit.fluxcd.io/v1alpha1',
    'source.toolkit.fluxcd.io/v1beta1',
    'source.toolkit.fluxcd.io/v1beta2',
    'source.toolkit.fluxcd.io/v1',
  ],
  GitRepository: [
    'source.toolkit.fluxcd.io/v1alpha1',
    'source.toolkit.fluxcd.io/v1beta1',
    'source.toolkit.fluxcd.io/v1beta2',
    'source.toolkit.fluxcd.io/v1',
  ],
  HelmChart: [
    'source.toolkit.fluxcd.io/v1alpha1',
    'source.toolkit.fluxcd.io/v1beta1',
    'source.toolkit.fluxcd.io/v1',
  ],
  HelmRelease: [
    'helm.toolkit.fluxcd.io/v2beta1',
    'helm.toolkit.fluxcd.io/v2beta2',
    'helm.toolkit.fluxcd.io/v2',
  ],
  HelmRepository: [
    'source.toolkit.fluxcd.io/v1alpha1',
    'source.toolkit.fluxcd.io/v1beta1',
    'source.toolkit.fluxcd.io/v1beta2',
    'source.toolkit.fluxcd.io/v1',
  ],
  ImagePolicy: ['image.toolkit.fluxcd.io/v1beta2'],
  ImageRepository: ['image.toolkit.fluxcd.io/v1beta2'],
  ImageUpdateAutomation: [
    'image.toolkit.fluxcd.io/v1beta1',
    'image.toolkit.fluxcd.io/v1beta2'
    ],
  OCIRepository: ['source.toolkit.fluxcd.io/v1beta2'],
  Provider: [
    'notification.toolkit.fluxcd.io/v1beta2',
    'notification.toolkit.fluxcd.io/v1beta3',
  ],
  Receiver: [
    'notification.toolkit.fluxcd.io/v1beta2',
    'notification.toolkit.fluxcd.io/v1',
  ],

  // https://fluxcd.io/flux/components/kustomize/kustomizations
  // https://kubectl.docs.kubernetes.io/references/kustomize/kustomization
  Kustomization: [
    'kustomize.toolkit.fluxcd.io/v1beta2',
    'kustomize.toolkit.fluxcd.io/v1',
    'kustomize.config.k8s.io/v1beta1',
  ],
}