Skip to content

Commit

Permalink
Update _helpers.tpl
Browse files Browse the repository at this point in the history
  • Loading branch information
Asraf-Khan-ML authored Jan 4, 2024
1 parent d7525a4 commit 6a088f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/sf-archival/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ To get api version for HPA
*/}}
{{- define "autoscaling.apiVersion" -}}
{{- if .Capabilities.APIVersions.Has "autoscaling/v2" -}}
{{- print "autoscaling/v2beta2" -}}
{{- print "autoscaling/v2" -}}
{{- else -}}
{{- print "autoscaling/v2beta2" -}}
{{- end -}}
Expand All @@ -62,4 +62,4 @@ To get api version for cronJob
{{- if .Capabilities.APIVersions.Has "batch/v1" -}}
{{- print "batch/v1" -}}
{{- end -}}
{{- end -}}
{{- end -}}

0 comments on commit 6a088f0

Please sign in to comment.