[stable/datadog] Allow pre-release versions as docker image tag (#22457)

See http://masterminds.github.io/sprig/semver.html#working-with-prerelease-versions

Signed-off-by: Lénaïc Huard <lenaic.huard@datadoghq.com>
This commit is contained in:
Lénaïc Huard
2020-05-20 03:24:18 -07:00
committed by GitHub
parent bd048b272a
commit 0df5e75f9b
3 changed files with 6 additions and 2 deletions
+4
View File
@@ -1,5 +1,9 @@
# Datadog changelog
## 2.3.3
* Allow pre-release versions as docker image tag
## 2.3.2
* Update the DCA RBAC to allow it to create events in the HPA
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: datadog
version: 2.3.2
version: 2.3.3
appVersion: "7"
description: Datadog Agent
keywords:
+1 -1
View File
@@ -13,7 +13,7 @@
{{- if and (eq $length 1) (eq $version "latest") -}}
{{- $version = "7.19.0" -}}
{{- end -}}
{{- if not (semverCompare "^6.19.0 || ^7.19.0" $version) -}}
{{- if not (semverCompare "^6.19.0-0 || ^7.19.0-0" $version) -}}
{{- fail "This version of the chart requires an agent image 7.19.0 or greater. If you want to force and skip this check, use `--set agents.image.doNotCheckTag=true`" -}}
{{- end -}}
{{- end -}}