Publish new changes in catalog

This commit is contained in:
sonicaj
2023-11-28 15:00:53 +00:00
parent 6f943226f4
commit 8544811c8f
16 changed files with 20 additions and 4 deletions

View File

@@ -3,7 +3,7 @@ description: Share your storage on the internet and earn.
annotations:
title: Storj
type: application
version: 1.0.16
version: 1.0.17
apiVersion: v2
appVersion: v1.68.2
kubeVersion: '>=1.16.0-0'

View File

@@ -22,3 +22,4 @@ storageSize: 500
wallet: 0xXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
webPort: 30000
zksync: true
zksyncEra: true

View File

@@ -101,7 +101,15 @@ questions:
- variable: zksync
label: "Opt-in to zkSync"
description: Appends --operator.wallet-features=zksync flag to the storagenode command
description: Appends "zksync" to --operator.wallet-features flag to the storagenode command
group: "Configuration"
schema:
type: boolean
default: false
- variable: zksyncEra
label: "Opt-in to zkSync era"
description: Appends "zksync-era" to --operator.wallet-features flag to the storagenode command
group: "Configuration"
schema:
type: boolean

View File

@@ -78,9 +78,16 @@ spec:
- name: udp
containerPort: 28967
protocol: UDP
{{ if .Values.zksync }}
{{- $walletFeats := list -}}
{{- if .Values.zksync }}
{{- $walletFeats = mustAppend $walletFeats "zksync" -}}
{{- end -}}
{{ if .Values.zksyncEra }}
{{- $walletFeats = mustAppend $walletFeats "zksync-era" -}}
{{- end -}}
{{- if $walletFeats }}
args:
- --operator.wallet-features=zksync
- --operator.wallet-features={{ join "," $walletFeats }}
{{ end }}
env:
{{ $envList := (default list .Values.environmentVariables) }}