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 615721ff0acfe90f6c247e38b914426be5af8653..391d3b33a1bf8bc8f31e2866a0d862aa3c54533d 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 65e6606b25e23f866aeb3b92a855d835e7601534..22d2f2cac53bb80f10d7f898efd98fcd74fffb32 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 7799a79ad1542bea47e5d6c6c5b4aa3cbbb5b470..dd97bbfc5edc0c14b4c80164d907b3aa6b4f9df7 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