Skip to content

Commit 2d928b1

Browse files
authored
Use apiregistration.k8s.io/v1 (#128)
Signed-off-by: Tamal Saha <tamal@appscode.com>
1 parent 597f380 commit 2d928b1

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

charts/stash-enterprise/templates/apiregistration.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
{{- $serverKey = required "Required when apiserver.servingCerts.generate is false" .Values.apiserver.servingCerts.serverKey }}
1717
{{- end }}
1818
{{- if or .Values.apiserver.enableMutatingWebhook .Values.apiserver.enableValidatingWebhook }}
19-
apiVersion: apiregistration.k8s.io/v1beta1
19+
apiVersion: apiregistration.k8s.io/v1
2020
kind: APIService
2121
metadata:
2222
name: v1alpha1.admission.stash.appscode.com
@@ -32,7 +32,7 @@ spec:
3232
groupPriorityMinimum: {{ .Values.apiserver.groupPriorityMinimum }}
3333
versionPriority: {{ .Values.apiserver.versionPriority }}
3434
---
35-
apiVersion: apiregistration.k8s.io/v1beta1
35+
apiVersion: apiregistration.k8s.io/v1
3636
kind: APIService
3737
metadata:
3838
name: v1beta1.admission.stash.appscode.com
@@ -48,7 +48,7 @@ spec:
4848
groupPriorityMinimum: {{ .Values.apiserver.groupPriorityMinimum }}
4949
versionPriority: {{ .Values.apiserver.versionPriority }}
5050
---
51-
apiVersion: apiregistration.k8s.io/v1beta1
51+
apiVersion: apiregistration.k8s.io/v1
5252
kind: APIService
5353
metadata:
5454
name: v1alpha1.repositories.stash.appscode.com

charts/stash/templates/apiregistration.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
{{- $serverKey = required "Required when apiserver.servingCerts.generate is false" .Values.apiserver.servingCerts.serverKey }}
1717
{{- end }}
1818
{{- if or .Values.apiserver.enableMutatingWebhook .Values.apiserver.enableValidatingWebhook }}
19-
apiVersion: apiregistration.k8s.io/v1beta1
19+
apiVersion: apiregistration.k8s.io/v1
2020
kind: APIService
2121
metadata:
2222
name: v1alpha1.admission.stash.appscode.com
@@ -32,7 +32,7 @@ spec:
3232
groupPriorityMinimum: {{ .Values.apiserver.groupPriorityMinimum }}
3333
versionPriority: {{ .Values.apiserver.versionPriority }}
3434
---
35-
apiVersion: apiregistration.k8s.io/v1beta1
35+
apiVersion: apiregistration.k8s.io/v1
3636
kind: APIService
3737
metadata:
3838
name: v1beta1.admission.stash.appscode.com
@@ -48,7 +48,7 @@ spec:
4848
groupPriorityMinimum: {{ .Values.apiserver.groupPriorityMinimum }}
4949
versionPriority: {{ .Values.apiserver.versionPriority }}
5050
---
51-
apiVersion: apiregistration.k8s.io/v1beta1
51+
apiVersion: apiregistration.k8s.io/v1
5252
kind: APIService
5353
metadata:
5454
name: v1alpha1.repositories.stash.appscode.com

0 commit comments

Comments
 (0)