diff --git a/telemetry-aware-scheduling/deploy/charts/prometheus_custom_metrics_helm_chart/templates/custom-metrics-apiservice.yaml b/telemetry-aware-scheduling/deploy/charts/prometheus_custom_metrics_helm_chart/templates/custom-metrics-apiservice.yaml index f3c50ee5..c6665f32 100644 --- a/telemetry-aware-scheduling/deploy/charts/prometheus_custom_metrics_helm_chart/templates/custom-metrics-apiservice.yaml +++ b/telemetry-aware-scheduling/deploy/charts/prometheus_custom_metrics_helm_chart/templates/custom-metrics-apiservice.yaml @@ -1,4 +1,4 @@ -apiVersion: apiregistration.k8s.io/v1beta1 +apiVersion: apiregistration.k8s.io/v1 kind: APIService metadata: name: v1beta1.custom.metrics.k8s.io diff --git a/telemetry-aware-scheduling/deploy/charts/prometheus_helm_chart/templates/prometheus-cluseterRole.yaml b/telemetry-aware-scheduling/deploy/charts/prometheus_helm_chart/templates/prometheus-cluseterRole.yaml index ec0f0d42..6fd8010b 100644 --- a/telemetry-aware-scheduling/deploy/charts/prometheus_helm_chart/templates/prometheus-cluseterRole.yaml +++ b/telemetry-aware-scheduling/deploy/charts/prometheus_helm_chart/templates/prometheus-cluseterRole.yaml @@ -1,4 +1,4 @@ -apiVersion: rbac.authorization.k8s.io/v1beta1 +apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: {{ .Values.clusterRoleNme }} @@ -19,7 +19,7 @@ rules: - nonResourceURLs: ["/metrics"] verbs: ["get"] --- -apiVersion: rbac.authorization.k8s.io/v1beta1 +apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: {{ .Values.clusterRoleBindingName }}