Skip to content

Commit

Permalink
[castai-pod-node-lifecycle] Fix pod-disrubtion-budget if condition (#222
Browse files Browse the repository at this point in the history
)

* Fix castai-pod-node-lifecycle pod-disrubtion-budget template if condition

Co-authored-by: Narunas Kapocius <narunas@cast.ai>
  • Loading branch information
Narunas-K and Narunas Kapocius authored Jan 27, 2023
1 parent e7a9f69 commit f3832d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/castai-pod-node-lifecycle/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: castai-pod-node-lifecycle
description: CAST AI spotonly K8s webhook to control workload placement during cluster migration and spotonly.
type: application
version: 0.20.0
version: 0.21.0
appVersion: "v0.17.0"
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if and (ge .Capabilities.KubeVersion.Minor "21") (gt .Values.replicaCount 1.0)}}
{{- if and (ge .Capabilities.KubeVersion.Minor "21") (gt (int .Values.replicaCount) 1)}}
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
Expand Down

0 comments on commit f3832d8

Please sign in to comment.