diff --git a/roles/kubernetes-apps/csi_driver/cinder/templates/cinder-csi-poddisruptionbudget.yml.j2 b/roles/kubernetes-apps/csi_driver/cinder/templates/cinder-csi-poddisruptionbudget.yml.j2 index 615721ff0..391d3b33a 100644 --- a/roles/kubernetes-apps/csi_driver/cinder/templates/cinder-csi-poddisruptionbudget.yml.j2 +++ b/roles/kubernetes-apps/csi_driver/cinder/templates/cinder-csi-poddisruptionbudget.yml.j2 @@ -1,4 +1,4 @@ -apiVersion: policy/v1beta1 +apiVersion: policy/v1 kind: PodDisruptionBudget metadata: name: cinder-csi-pdb diff --git a/roles/network_plugin/calico/templates/calico-typha.yml.j2 b/roles/network_plugin/calico/templates/calico-typha.yml.j2 index 65e6606b2..22d2f2cac 100644 --- a/roles/network_plugin/calico/templates/calico-typha.yml.j2 +++ b/roles/network_plugin/calico/templates/calico-typha.yml.j2 @@ -176,7 +176,7 @@ spec: # This manifest creates a Pod Disruption Budget for Typha to allow K8s Cluster Autoscaler to evict -apiVersion: policy/v1beta1 +apiVersion: policy/v1 kind: PodDisruptionBudget metadata: name: calico-typha diff --git a/roles/network_plugin/cilium/templates/hubble/cronjob.yml.j2 b/roles/network_plugin/cilium/templates/hubble/cronjob.yml.j2 index 7799a79ad..dd97bbfc5 100644 --- a/roles/network_plugin/cilium/templates/hubble/cronjob.yml.j2 +++ b/roles/network_plugin/cilium/templates/hubble/cronjob.yml.j2 @@ -1,6 +1,6 @@ --- # Source: cilium/templates/hubble-generate-certs-cronjob.yaml -apiVersion: batch/v1beta1 +apiVersion: batch/v1 kind: CronJob metadata: name: hubble-generate-certs