From 04ae552bc91b1cfa4a54ab9d76c1704a9a90369c Mon Sep 17 00:00:00 2001 From: Carlos Jorge Date: Thu, 6 Feb 2025 10:18:34 +0000 Subject: [PATCH] refactor(gnosis): update to cue v0.12.0 --- gnosis/helmfile.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnosis/helmfile.yaml b/gnosis/helmfile.yaml index 2900b7d6..ec61387a 100644 --- a/gnosis/helmfile.yaml +++ b/gnosis/helmfile.yaml @@ -1,5 +1,5 @@ #namespace defaults -{{ $_ := set .Values "_namespaceDefaults" ( `{"flavor":"mainnet","mainnet":{"targetNamespace":"gnosis-mainnet","features":["erigon","lighthouse","proxyd"],"scaling":{"deployments":1,"erigon":{},"lighthouse":{}}},"common":{"features":["erigon","lighthouse","proxyd"],"scaling":{"deployments":1,"erigon":{},"lighthouse":{}}},"chiado":{"targetNamespace":"gnosis-chiado","features":["erigon","lighthouse","proxyd"],"scaling":{"deployments":1,"erigon":{},"lighthouse":{}}}}` | fromJson ) }} +{{ $_ := set .Values "_namespaceDefaults" ( `{"common":{"features":["erigon","lighthouse","proxyd"],"scaling":{"deployments":1,"erigon":{},"lighthouse":{}}},"flavor":"mainnet","mainnet":{"features":["erigon","lighthouse","proxyd"],"scaling":{"deployments":1,"erigon":{},"lighthouse":{}},"targetNamespace":"gnosis-mainnet"},"chiado":{"features":["erigon","lighthouse","proxyd"],"scaling":{"deployments":1,"erigon":{},"lighthouse":{}},"targetNamespace":"gnosis-chiado"}}` | fromJson ) }} #set default flavor when missing {{ if not ( hasKey .Values "flavor" ) }} {{ $_ := set .Values "flavor" "mainnet" }} @@ -155,8 +155,8 @@ repositories: templates: defaults: - namespace: '{{ .Values | get "targetNamespace" $_defaultNamespace }}' missingFileHandler: Warn + namespace: '{{ .Values | get "targetNamespace" $_defaultNamespace }}' erigon: {{- if ( .Values | get "erigon" dict | get "chartUrl" false ) }}