From d314f75ef3f313054eb7f774329f7dcac28c4bac Mon Sep 17 00:00:00 2001 From: Ricardo Rocha <rocha.porto@gmail.com> Date: Mon, 17 Apr 2023 00:45:24 +0200 Subject: [PATCH] chksum workflow based on full config --- infra/clusters/templates/workflows-cluster.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/clusters/templates/workflows-cluster.yaml b/infra/clusters/templates/workflows-cluster.yaml index ae7d13c..b85d0b6 100644 --- a/infra/clusters/templates/workflows-cluster.yaml +++ b/infra/clusters/templates/workflows-cluster.yaml @@ -1,5 +1,5 @@ {{- range $name, $values := .Values.clusters }} -{{- $chksum := toJson $values.config | adler32sum }} +{{- $chksum := toJson $values | adler32sum }} {{- $labels := "" }} {{- range $k, $v := index $values.config "labels" }} {{- $labels = printf "%s --label %s='%s'" $labels $k $v }} -- GitLab