Skip to content

Commit 630d77e

Browse files
committed
fixup! add vulnerable nodes
1 parent e18da84 commit 630d77e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

resources/charts/bitcoincore/templates/_helpers.tpl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,7 @@ Create the name of the service account to use
6161
Add network section heading in bitcoin.conf after v0.17.0
6262
*/}}
6363
{{- define "bitcoincore.check_semver" -}}
64-
{{- $version := semverCompare ">=0.17.0" .Values.image.tag -}}
65-
{{- if $version -}}
64+
{{- if or (regexMatch "^v?[0-9]+\\.[0-9]+\\.[0-9]+.*" .Values.image.tag | not) (semverCompare ">=0.17.0" .Values.image.tag) -}}
6665
[{{ .Values.chain }}]
6766
{{- end -}}
6867
{{- end -}}

0 commit comments

Comments
 (0)