Skip to content
This repository was archived by the owner on Jan 29, 2025. It is now read-only.

Commit 91282ff

Browse files
madalazartogashidm
authored andcommitted
Updating Helm scripts to use the V1 of the apiregistration and rbac.authorization APIs
Version v1beta1 of apiregistration.k8s.io and rbac.authorization.k8s.io have been deprecated in K8s/K8s scheduler v22. apiregistration.k8s.io/v1 has been available since K8s v1.10 and rbac.authorization.k8s.io/v1 from v1.8. The also fixes the TAS install using helm charts for K8s v22.
1 parent a76fc35 commit 91282ff

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

telemetry-aware-scheduling/deploy/charts/prometheus_custom_metrics_helm_chart/templates/custom-metrics-apiservice.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
apiVersion: apiregistration.k8s.io/v1beta1
1+
apiVersion: apiregistration.k8s.io/v1
22
kind: APIService
33
metadata:
44
name: v1beta1.custom.metrics.k8s.io

telemetry-aware-scheduling/deploy/charts/prometheus_helm_chart/templates/prometheus-cluseterRole.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
apiVersion: rbac.authorization.k8s.io/v1beta1
1+
apiVersion: rbac.authorization.k8s.io/v1
22
kind: ClusterRole
33
metadata:
44
name: {{ .Values.clusterRoleNme }}
@@ -19,7 +19,7 @@ rules:
1919
- nonResourceURLs: ["/metrics"]
2020
verbs: ["get"]
2121
---
22-
apiVersion: rbac.authorization.k8s.io/v1beta1
22+
apiVersion: rbac.authorization.k8s.io/v1
2323
kind: ClusterRoleBinding
2424
metadata:
2525
name: {{ .Values.clusterRoleBindingName }}

0 commit comments

Comments
 (0)