diff --git a/charts/kong/CHANGELOG.md b/charts/kong/CHANGELOG.md index 64bfc56c8..eb4d98567 100644 --- a/charts/kong/CHANGELOG.md +++ b/charts/kong/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 2.17.1 + +### Fixed + +* The `-redhat` suffix on official KIC images is no longer considered part of + the semver string for version checks. + [#779](https://github.com/Kong/charts/pull/779) + ## 2.17.0 ### Improvements diff --git a/charts/kong/Chart.yaml b/charts/kong/Chart.yaml index d67f6d4e2..e1f58a8ea 100644 --- a/charts/kong/Chart.yaml +++ b/charts/kong/Chart.yaml @@ -11,7 +11,7 @@ maintainers: name: kong sources: - https://github.com/Kong/charts/tree/main/charts/kong -version: 2.17.0 +version: 2.17.1 appVersion: "3.2" dependencies: - name: postgresql diff --git a/charts/kong/templates/_helpers.tpl b/charts/kong/templates/_helpers.tpl index 705b47df6..faf7024de 100644 --- a/charts/kong/templates/_helpers.tpl +++ b/charts/kong/templates/_helpers.tpl @@ -704,7 +704,7 @@ The name of the service used for the ingress controller's validation webhook {{- if .effectiveSemver -}} {{- .effectiveSemver -}} {{- else -}} -{{- .tag -}} +{{- (trimSuffix "-redhat" .tag) -}} {{- end -}} {{- end -}}