Skip to content
Snippets Groups Projects
Unverified Commit 2b2af2b9 authored by Damien Grisonnet's avatar Damien Grisonnet Committed by GitHub
Browse files

Merge pull request #1433 from markus-codes/fix/k8s-api-deprication

remove deprecated policy/v1beta1 kubernetes api
parents 2c5bdfe2 f1cff459
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
labels:
......
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
labels:
......
apiVersion: policy/v1beta1
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
labels:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment