diff --git a/.gitignore b/.gitignore index a4be81c..d3a9dd6 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,6 @@ cert-manager-webhook-example # Make artifacts _out _test + +# if vendoring enabled +vendor/ diff --git a/deploy/helm/templates/rbac.yaml b/deploy/helm/templates/rbac.yaml index 7451dfb..34d9d8b 100644 --- a/deploy/helm/templates/rbac.yaml +++ b/deploy/helm/templates/rbac.yaml @@ -115,7 +115,7 @@ metadata: {{ include "gcore-webhook.labels" . | indent 4 }} rules: - apiGroups: - - "flowcontrol.apiserver.k8s.io" + - "flowcontrol.apiserver.k8s.io/v1beta3" resources: - "prioritylevelconfigurations" - "flowschemas" diff --git a/deploy/webhook-all.yml b/deploy/webhook-all.yml index 063abe4..b240b0f 100644 --- a/deploy/webhook-all.yml +++ b/deploy/webhook-all.yml @@ -121,7 +121,7 @@ metadata: app.kubernetes.io/version: 0.1.1 rules: - apiGroups: - - "flowcontrol.apiserver.k8s.io" + - "flowcontrol.apiserver.k8s.io/v1beta3" resources: - "prioritylevelconfigurations" - "flowschemas"