Skip to content

Commit 940e334

Browse files
authored
Merge pull request #120 from ApplauseOSS/update-pdb-version
Update PDB API version
2 parents 3e28b06 + dcbb32f commit 940e334

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

deploy_config_generator/output/kube_pdb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class OutputPlugin(kube_common.OutputPlugin):
4545
def generate_output(self, app_vars):
4646
# Basic structure
4747
data = {
48-
'apiVersion': 'policy/v1beta1',
48+
'apiVersion': 'policy/v1',
4949
'kind': 'PodDisruptionBudget',
5050
'spec': dict(),
5151
}

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def run(self):
5353

5454
setup(
5555
name='deploy-config-generator',
56-
version='2.25.0',
56+
version='2.26.0',
5757
url='https://github.com/ApplauseOSS/deploy-config-generator',
5858
license='MIT',
5959
description='Utility to generate service deploy configurations',

tests/integration/kube_basic/expected_output/kube_pdb-001-nginx.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
apiVersion: policy/v1beta1
1+
apiVersion: policy/v1
22
kind: PodDisruptionBudget
33
metadata:
44
name: nginx

0 commit comments

Comments
 (0)