Skip to content

Commit e181e03

Browse files
committed
Add workaround for GKE version check
* replace "policy/v1beta1" with "policy/v1" for "PodDisruptionBudget"
1 parent 8b25f7e commit e181e03

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#@ load("@ytt:data", "data")
2+
#@ load("@ytt:library", "library")
3+
#@ load("@ytt:overlay", "overlay")
4+
#@ load("@ytt:template", "template")
5+
6+
#! workaround for buggy GKE version check:
7+
#! https://github.com/concourse/concourse-chart/blob/c92075294c39a20fd48e0c5cc4533a2a59adfc70/templates/worker-policy.yaml#L2
8+
9+
#@overlay/match by=overlay.subset({"kind": "PodDisruptionBudget"})
10+
---
11+
apiVersion: policy/v1

0 commit comments

Comments
 (0)