Skip to content

Commit

Permalink
chore(base-cluster/descheduler): add new supported version
Browse files Browse the repository at this point in the history
  • Loading branch information
cwrau committed Feb 13, 2024
1 parent f1bb8d4 commit 8988859
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/base-cluster/templates/descheduler/descheduler.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- if .Values.descheduler.enabled -}}
{{- $kubeMinorVersion := .Capabilities.KubeVersion.Minor -}}
{{- $versionMatrix := dict 18 "0.20.x" 19 "0.21.x" 20 "0.22.x" 21 "0.23.x" 22 "0.24.x" 23 "0.25.x" 24 "0.26.x" 25 "0.27.x" -}}
{{- $versionMatrix := dict 18 "0.20.x" 19 "0.21.x" 20 "0.22.x" 21 "0.23.x" 22 "0.24.x" 23 "0.25.x" 24 "0.26.x" 25 "0.27.x" 26 "0.28.x" -}}
{{- $latestVersion := .Values.global.helmRepositories.descheduler.charts.descheduler -}}
{{- $selectedVersion := (hasKey $versionMatrix $kubeMinorVersion) | ternary (index $versionMatrix $kubeMinorVersion) $latestVersion -}}
apiVersion: helm.toolkit.fluxcd.io/v2beta1
Expand Down

0 comments on commit 8988859

Please sign in to comment.