mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Fix for version comparisons from strings to semver (#4607)
* Fix for version comparisons from strings to semver See #3002 for more detail * Adding appVersion to pass validation * Include pre-releases in the semver ranges This is important when testing against alpha and beta builds of Kubernetes along with environments that use pre-releases to denote things other than pre-releases (e.g., gke denotes the environment with a pre-releases)
This commit is contained in:
committed by
k8s-ci-robot
parent
74a23f7efb
commit
d5d0637b1e
@@ -1,9 +1,10 @@
|
||||
name: spotify-docker-gc
|
||||
home: https://github.com/spotify/docker-gc
|
||||
version: 0.1.2
|
||||
version: 0.1.3
|
||||
appVersion: latest
|
||||
description: A simple Docker container and image garbage collection script.
|
||||
sources:
|
||||
- https://github.com/spotify/docker-gc
|
||||
maintainers:
|
||||
- name: Vaughn Dice
|
||||
- name: vdice
|
||||
email: vadice@microsoft.com
|
||||
|
||||
@@ -3,7 +3,7 @@ kind: DaemonSet
|
||||
metadata:
|
||||
name: {{ template "name" . }}
|
||||
spec:
|
||||
{{- if ge .Capabilities.KubeVersion.Minor "6" }}
|
||||
{{- if semverCompare "^1.6-0" .Capabilities.KubeVersion.GitVersion }}
|
||||
updateStrategy:
|
||||
type: RollingUpdate
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user