Skip to content

Commit

Permalink
refactor(gnosis): update to cue v0.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cjorge-graphops committed Feb 6, 2025
1 parent 8ec70be commit 04ae552
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gnosis/helmfile.yaml
Original file line number Diff line number Diff line change
@@ -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" }}
Expand Down Expand Up @@ -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 ) }}
Expand Down

0 comments on commit 04ae552

Please sign in to comment.