mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[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:
@@ -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,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: datadog
|
||||
version: 2.3.2
|
||||
version: 2.3.3
|
||||
appVersion: "7"
|
||||
description: Datadog Agent
|
||||
keywords:
|
||||
|
||||
@@ -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 -}}
|
||||
|
||||
Reference in New Issue
Block a user