fix: upgrade deprecated policy/v1beta1 kubernetes api

This commit is contained in:
Markus Heinemann
2021-10-12 09:00:09 +00:00
committed by GitHub
parent ade7f0d2f1
commit f1cff459de
6 changed files with 6 additions and 6 deletions

View File

@@ -168,7 +168,7 @@ function(params) {
},
[if (defaults + params).replicas > 1 then 'podDisruptionBudget']: {
apiVersion: 'policy/v1beta1',
apiVersion: 'policy/v1',
kind: 'PodDisruptionBudget',
metadata: {
name: 'alertmanager-' + am._config.name,

View File

@@ -378,7 +378,7 @@ function(params) {
},
[if (defaults + params).replicas > 1 then 'podDisruptionBudget']: {
apiVersion: 'policy/v1beta1',
apiVersion: 'policy/v1',
kind: 'PodDisruptionBudget',
metadata: {
name: pa._config.name,

View File

@@ -246,7 +246,7 @@ function(params) {
},
[if (defaults + params).replicas > 1 then 'podDisruptionBudget']: {
apiVersion: 'policy/v1beta1',
apiVersion: 'policy/v1',
kind: 'PodDisruptionBudget',
metadata: {
name: 'prometheus-' + p._config.name,

View File

@@ -1,4 +1,4 @@
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
labels:

View File

@@ -1,4 +1,4 @@
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
labels:

View File

@@ -1,4 +1,4 @@
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
labels: