Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions arbitrum-one/helmfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ templates:
{{- if (not (or ( .Values | get "arbitrum-nitro" dict | get "chartVersion" false ) ( .Values | get "arbitrum-nitro" dict | get "chartUrl" false ) )) }}
version: "0.2.0"
{{- end }}

arbitrum-classic:
{{- if ( .Values | get "arbitrum-classic" dict | get "chartUrl" false ) }}
chart: {{ .Values | get "arbitrum-classic" | get "chartUrl" }}
Expand All @@ -174,6 +175,7 @@ templates:
{{- if (not (or ( .Values | get "arbitrum-classic" dict | get "chartVersion" false ) ( .Values | get "arbitrum-classic" dict | get "chartUrl" false ) )) }}
version: "0.2.0"
{{- end }}

proxyd:
{{- if ( .Values | get "proxyd" dict | get "chartUrl" false ) }}
chart: {{ .Values | get "proxyd" | get "chartUrl" }}
Expand All @@ -188,6 +190,7 @@ templates:
{{- if (not (or ( .Values | get "proxyd" dict | get "chartVersion" false ) ( .Values | get "proxyd" dict | get "chartUrl" false ) )) }}
version: "0.4.0"
{{- end }}

releases:
{{ if has "arbitrum_nitro" ( .Values | get "features" list ) }}
{{- $canonicalRelease := "arbitrum-nitro" }}
Expand Down
2 changes: 2 additions & 0 deletions celo/helmfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ templates:
{{- if (not (or ( .Values | get "celo" dict | get "chartVersion" false ) ( .Values | get "celo" dict | get "chartUrl" false ) )) }}
version: "0.1.1-canary.2"
{{- end }}

proxyd:
{{- if ( .Values | get "proxyd" dict | get "chartUrl" false ) }}
chart: {{ .Values | get "proxyd" | get "chartUrl" }}
Expand All @@ -157,6 +158,7 @@ templates:
{{- if (not (or ( .Values | get "proxyd" dict | get "chartVersion" false ) ( .Values | get "proxyd" dict | get "chartUrl" false ) )) }}
version: "0.4.0"
{{- end }}

releases:
{{- $canonicalRelease := "celo" }}
{{- $release := "celo" }}
Expand Down
3 changes: 3 additions & 0 deletions ethereum/helmfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ templates:
{{- if (not (or ( .Values | get "erigon" dict | get "chartVersion" false ) ( .Values | get "erigon" dict | get "chartUrl" false ) )) }}
version: "0.9.1"
{{- end }}

nimbus:
{{- if ( .Values | get "nimbus" dict | get "chartUrl" false ) }}
chart: {{ .Values | get "nimbus" | get "chartUrl" }}
Expand All @@ -174,6 +175,7 @@ templates:
{{- if (not (or ( .Values | get "nimbus" dict | get "chartVersion" false ) ( .Values | get "nimbus" dict | get "chartUrl" false ) )) }}
version: "0.5.4"
{{- end }}

proxyd:
{{- if ( .Values | get "proxyd" dict | get "chartUrl" false ) }}
chart: {{ .Values | get "proxyd" | get "chartUrl" }}
Expand All @@ -188,6 +190,7 @@ templates:
{{- if (not (or ( .Values | get "proxyd" dict | get "chartVersion" false ) ( .Values | get "proxyd" dict | get "chartUrl" false ) )) }}
version: "0.4.0"
{{- end }}

releases:
{{- $canonicalRelease := "erigon" }}
{{- range $index := until .Values.scaling.deployments }}
Expand Down
3 changes: 3 additions & 0 deletions gnosis/helmfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ templates:
{{- if (not (or ( .Values | get "erigon" dict | get "chartVersion" false ) ( .Values | get "erigon" dict | get "chartUrl" false ) )) }}
version: "0.9.1"
{{- end }}

lighthouse:
{{- if ( .Values | get "lighthouse" dict | get "chartUrl" false ) }}
chart: {{ .Values | get "lighthouse" | get "chartUrl" }}
Expand All @@ -174,6 +175,7 @@ templates:
{{- if (not (or ( .Values | get "lighthouse" dict | get "chartVersion" false ) ( .Values | get "lighthouse" dict | get "chartUrl" false ) )) }}
version: "0.4.0"
{{- end }}

proxyd:
{{- if ( .Values | get "proxyd" dict | get "chartUrl" false ) }}
chart: {{ .Values | get "proxyd" | get "chartUrl" }}
Expand All @@ -188,6 +190,7 @@ templates:
{{- if (not (or ( .Values | get "proxyd" dict | get "chartVersion" false ) ( .Values | get "proxyd" dict | get "chartUrl" false ) )) }}
version: "0.4.0"
{{- end }}

releases:
{{ if has "erigon" ( .Values | get "features" list ) }}
{{- $canonicalRelease := "erigon" }}
Expand Down
6 changes: 6 additions & 0 deletions graph/helmfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ templates:
{{- if (not (or ( .Values | get "graph-node" dict | get "chartVersion" false ) ( .Values | get "graph-node" dict | get "chartUrl" false ) )) }}
version: "0.3.4"
{{- end }}

graph-network-indexer:
{{- if ( .Values | get "graph-network-indexer" dict | get "chartUrl" false ) }}
chart: {{ .Values | get "graph-network-indexer" | get "chartUrl" }}
Expand All @@ -162,6 +163,7 @@ templates:
{{- if (not (or ( .Values | get "graph-network-indexer" dict | get "chartVersion" false ) ( .Values | get "graph-network-indexer" dict | get "chartUrl" false ) )) }}
version: "0.2.3"
{{- end }}

graph-toolbox:
{{- if ( .Values | get "graph-toolbox" dict | get "chartUrl" false ) }}
chart: {{ .Values | get "graph-toolbox" | get "chartUrl" }}
Expand All @@ -176,6 +178,7 @@ templates:
{{- if (not (or ( .Values | get "graph-toolbox" dict | get "chartVersion" false ) ( .Values | get "graph-toolbox" dict | get "chartUrl" false ) )) }}
version: "0.1.0"
{{- end }}

graph-operator-mnemonic:
{{- if ( .Values | get "graph-operator-mnemonic" dict | get "chartUrl" false ) }}
chart: {{ .Values | get "graph-operator-mnemonic" | get "chartUrl" }}
Expand All @@ -190,6 +193,7 @@ templates:
{{- if (not (or ( .Values | get "graph-operator-mnemonic" dict | get "chartVersion" false ) ( .Values | get "graph-operator-mnemonic" dict | get "chartUrl" false ) )) }}
version: "0.2.0"
{{- end }}

graph-database:
{{- if ( .Values | get "graph-database" dict | get "chartUrl" false ) }}
chart: {{ .Values | get "graph-database" | get "chartUrl" }}
Expand All @@ -204,6 +208,7 @@ templates:
{{- if (not (or ( .Values | get "graph-database" dict | get "chartVersion" false ) ( .Values | get "graph-database" dict | get "chartUrl" false ) )) }}
version: "0.2.0"
{{- end }}

subgraph-radio:
{{- if ( .Values | get "subgraph-radio" dict | get "chartUrl" false ) }}
chart: {{ .Values | get "subgraph-radio" | get "chartUrl" }}
Expand All @@ -218,6 +223,7 @@ templates:
{{- if (not (or ( .Values | get "subgraph-radio" dict | get "chartVersion" false ) ( .Values | get "subgraph-radio" dict | get "chartUrl" false ) )) }}
version: "0.2.5-canary.2"
{{- end }}

releases:
{{- $canonicalRelease := "graph-node" }}
{{- $release := "graph-node" }}
Expand Down
4 changes: 4 additions & 0 deletions ingress/helmfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ templates:
{{- if (not (or ( .Values | get "ingress-nginx" dict | get "chartVersion" false ) ( .Values | get "ingress-nginx" dict | get "chartUrl" false ) )) }}
version: "4.8.3"
{{- end }}

cert-manager:
{{- if ( .Values | get "cert-manager" dict | get "chartUrl" false ) }}
chart: {{ .Values | get "cert-manager" | get "chartUrl" }}
Expand All @@ -162,6 +163,8 @@ templates:
{{- if (not (or ( .Values | get "cert-manager" dict | get "chartVersion" false ) ( .Values | get "cert-manager" dict | get "chartUrl" false ) )) }}
version: "v1.13.2"
{{- end }}
disableValidationOnInstall: true

cert-manager-resources:
{{- if ( .Values | get "cert-manager-resources" dict | get "chartUrl" false ) }}
chart: {{ .Values | get "cert-manager-resources" | get "chartUrl" }}
Expand All @@ -176,6 +179,7 @@ templates:
{{- if (not (or ( .Values | get "cert-manager-resources" dict | get "chartVersion" false ) ( .Values | get "cert-manager-resources" dict | get "chartUrl" false ) )) }}
version: "0.2.0"
{{- end }}

releases:
{{ if has "ingress" ( .Values | get "features" list ) }}
{{- $canonicalRelease := "ingress-nginx" }}
Expand Down
5 changes: 5 additions & 0 deletions monitoring/helmfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ templates:
{{- if (not (or ( .Values | get "kube-prometheus-stack" dict | get "chartVersion" false ) ( .Values | get "kube-prometheus-stack" dict | get "chartUrl" false ) )) }}
version: "54.2.1"
{{- end }}
disableValidationOnInstall: true

node-problem-detector:
{{- if ( .Values | get "node-problem-detector" dict | get "chartUrl" false ) }}
chart: {{ .Values | get "node-problem-detector" | get "chartUrl" }}
Expand All @@ -162,6 +164,7 @@ templates:
{{- if (not (or ( .Values | get "node-problem-detector" dict | get "chartVersion" false ) ( .Values | get "node-problem-detector" dict | get "chartUrl" false ) )) }}
version: "2.3.11"
{{- end }}

loki:
{{- if ( .Values | get "loki" dict | get "chartUrl" false ) }}
chart: {{ .Values | get "loki" | get "chartUrl" }}
Expand All @@ -176,6 +179,7 @@ templates:
{{- if (not (or ( .Values | get "loki" dict | get "chartVersion" false ) ( .Values | get "loki" dict | get "chartUrl" false ) )) }}
version: "0.76.1"
{{- end }}

promtail:
{{- if ( .Values | get "promtail" dict | get "chartUrl" false ) }}
chart: {{ .Values | get "promtail" | get "chartUrl" }}
Expand All @@ -190,6 +194,7 @@ templates:
{{- if (not (or ( .Values | get "promtail" dict | get "chartVersion" false ) ( .Values | get "promtail" dict | get "chartUrl" false ) )) }}
version: "6.15.3"
{{- end }}

releases:
{{ if has "metrics" ( .Values | get "features" list ) }}
{{- $canonicalRelease := "kube-prometheus-stack" }}
Expand Down
3 changes: 3 additions & 0 deletions polygon/helmfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ templates:
{{- if (not (or ( .Values | get "erigon" dict | get "chartVersion" false ) ( .Values | get "erigon" dict | get "chartUrl" false ) )) }}
version: "0.9.1"
{{- end }}

heimdall:
{{- if ( .Values | get "heimdall" dict | get "chartUrl" false ) }}
chart: {{ .Values | get "heimdall" | get "chartUrl" }}
Expand All @@ -157,6 +158,7 @@ templates:
{{- if (not (or ( .Values | get "heimdall" dict | get "chartVersion" false ) ( .Values | get "heimdall" dict | get "chartUrl" false ) )) }}
version: "1.1.4-canary.2"
{{- end }}

proxyd:
{{- if ( .Values | get "proxyd" dict | get "chartUrl" false ) }}
chart: {{ .Values | get "proxyd" | get "chartUrl" }}
Expand All @@ -171,6 +173,7 @@ templates:
{{- if (not (or ( .Values | get "proxyd" dict | get "chartVersion" false ) ( .Values | get "proxyd" dict | get "chartUrl" false ) )) }}
version: "0.4.0"
{{- end }}

releases:
{{- $canonicalRelease := "erigon" }}
{{- $release := "erigon" }}
Expand Down
2 changes: 2 additions & 0 deletions postgres-operator/helmfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,8 @@ templates:
{{- if (not (or ( .Values | get "postgres-operator" dict | get "chartVersion" false ) ( .Values | get "postgres-operator" dict | get "chartUrl" false ) )) }}
version: "1.10.1"
{{- end }}
disableValidationOnInstall: true

releases:
{{- $canonicalRelease := "postgres-operator" }}
{{- $release := "postgres-operator" }}
Expand Down
1 change: 1 addition & 0 deletions sealed-secrets/helmfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ templates:
{{- if (not (or ( .Values | get "sealed-secrets" dict | get "chartVersion" false ) ( .Values | get "sealed-secrets" dict | get "chartUrl" false ) )) }}
version: "2.13.3"
{{- end }}

releases:
{{- $canonicalRelease := "sealed-secrets" }}
{{- $release := "sealed-secrets" }}
Expand Down
7 changes: 4 additions & 3 deletions src/schemas/build_tool.cue
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"encoding/yaml"
"strings"
"list"
"struct"
)

command: {
Expand Down Expand Up @@ -424,17 +425,17 @@ _helmfile: {
{{- end }}
"""

if yaml.Marshal(_template) != "{}" {
if struct.MinFields(_template, 1) {
template: """
\(yaml.Marshal(_template))
"""
}

if yaml.Marshal(_template) == "{}" {
if ! struct.MinFields(_template, 1) {
template: ""
}

out: strings.Join([releaseBlock, version, releaseBlock["\(releaseName)"].template], "\n")
out: strings.Join([releaseBlock, version, _releaseBlock["\(releaseName)"].template], "\n")
}
}

Expand Down
6 changes: 6 additions & 0 deletions storage/helmfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ templates:
{{- if (not (or ( .Values | get "openebs" dict | get "chartVersion" false ) ( .Values | get "openebs" dict | get "chartUrl" false ) )) }}
version: "3.9.0"
{{- end }}

openebs-rawfile-localpv:
{{- if ( .Values | get "openebs-rawfile-localpv" dict | get "chartUrl" false ) }}
chart: {{ .Values | get "openebs-rawfile-localpv" | get "chartUrl" }}
Expand All @@ -162,6 +163,7 @@ templates:
{{- if (not (or ( .Values | get "openebs-rawfile-localpv" dict | get "chartVersion" false ) ( .Values | get "openebs-rawfile-localpv" dict | get "chartUrl" false ) )) }}
version: "0.8.3"
{{- end }}

openebs-rawfile-storageclass:
{{- if ( .Values | get "openebs-rawfile-storageclass" dict | get "chartUrl" false ) }}
chart: {{ .Values | get "openebs-rawfile-storageclass" | get "chartUrl" }}
Expand All @@ -176,6 +178,7 @@ templates:
{{- if (not (or ( .Values | get "openebs-rawfile-storageclass" dict | get "chartVersion" false ) ( .Values | get "openebs-rawfile-storageclass" dict | get "chartUrl" false ) )) }}
version: "0.2.0"
{{- end }}

openebs-zfs-localpv:
{{- if ( .Values | get "openebs-zfs-localpv" dict | get "chartUrl" false ) }}
chart: {{ .Values | get "openebs-zfs-localpv" | get "chartUrl" }}
Expand All @@ -190,6 +193,7 @@ templates:
{{- if (not (or ( .Values | get "openebs-zfs-localpv" dict | get "chartVersion" false ) ( .Values | get "openebs-zfs-localpv" dict | get "chartUrl" false ) )) }}
version: "2.3.2"
{{- end }}

openebs-zfs-storageclass:
{{- if ( .Values | get "openebs-zfs-storageclass" dict | get "chartUrl" false ) }}
chart: {{ .Values | get "openebs-zfs-storageclass" | get "chartUrl" }}
Expand All @@ -204,6 +208,7 @@ templates:
{{- if (not (or ( .Values | get "openebs-zfs-storageclass" dict | get "chartVersion" false ) ( .Values | get "openebs-zfs-storageclass" dict | get "chartUrl" false ) )) }}
version: "0.2.0"
{{- end }}

openebs-zfs-snapclass:
{{- if ( .Values | get "openebs-zfs-snapclass" dict | get "chartUrl" false ) }}
chart: {{ .Values | get "openebs-zfs-snapclass" | get "chartUrl" }}
Expand All @@ -218,6 +223,7 @@ templates:
{{- if (not (or ( .Values | get "openebs-zfs-snapclass" dict | get "chartVersion" false ) ( .Values | get "openebs-zfs-snapclass" dict | get "chartUrl" false ) )) }}
version: "0.2.0"
{{- end }}

releases:
{{- $canonicalRelease := "openebs" }}
{{- $release := "openebs" }}
Expand Down