Move storj to ix-dev (#1052)

This commit is contained in:
Stavros Kois
2023-03-24 23:39:12 +02:00
committed by GitHub
parent fc5caa4ec4
commit 1f82a2fd28
22 changed files with 62 additions and 30 deletions

View File

@@ -12,5 +12,7 @@ chart-dirs:
- library/ix-dev/community
- library/ix-dev/enterprise
excluded-charts:
- library/common-test
- library/common
- common-test
- common
# GH Runner does not have the required storage space
- storj

View File

@@ -11,5 +11,5 @@ chart-dirs:
- library/ix-dev/community
- library/ix-dev/enterprise
excluded-charts:
- library/common-test
- library/common
- common-test
- common

View File

@@ -1,6 +0,0 @@
dependencies:
- name: common
repository: file://../../../library/common/2207.0.0
version: 2207.0.0
digest: sha256:f17f3d458ca0210a52e39da0dce35034e900b36f2040d4b19bed46a7aae91506
generated: "2022-08-02T17:37:09.365219548+05:00"

View File

@@ -1,16 +0,0 @@
apiVersion: v2
appVersion: v1.68.2
dependencies:
- name: common
repository: file://../../../library/common/2207.0.0
version: 2207.0.0
description: Share your storage on the internet and earn.
home: https://www.storj.io/
icon: https://assets-global.website-files.com/602eda09fc78afc76e9706b6/60917835a05862243e7de9af_logo.svg
keywords:
- storage
- dapps
- networking
- financial
name: storj
version: 1.0.5

View File

@@ -0,0 +1,6 @@
dependencies:
- name: common
repository: file://../../../common/2207.0.0
version: 2207.0.0
digest: sha256:a301ba0f99ec1e08a60a7f0a0320aa02d225993572f2f056f09520f06df88b37
generated: "2023-03-22T19:36:11.899870629+02:00"

View File

@@ -0,0 +1,26 @@
name: storj
description: Share your storage on the internet and earn.
annotations:
title: Storj
type: application
version: 1.0.6
apiVersion: v2
appVersion: v1.68.2
kubeVersion: '>=1.16.0-0'
maintainers:
- name: truenas
url: https://www.truenas.com/
dependencies:
- name: common
repository: file://../../../common/2207.0.0
version: 2207.0.0
home: https://www.storj.io
icon: https://assets-global.website-files.com/602eda09fc78afc76e9706b6/60917835a05862243e7de9af_logo.svg
sources:
- https://www.storj.io
- https://github.com/truenas/charts/tree/master/library/ix-dev/charts/storj
keywords:
- storage
- dapps
- networking
- financial

Binary file not shown.

View File

@@ -13,14 +13,12 @@ email: user@example.com
emptyDirVolumes: true
environmentVariables: []
extraAppVolumeMounts: []
terminationGracePeriod: 120
identityCreationMountPath: /root/.local/share/storj/identity/storagenode
image:
pullPolicy: IfNotPresent
repository: storjlabs/storagenode
tag: 1d42f9ac3-v1.68.2-go1.18.8
nodePort: 30002
runAsGroup: 568
runAsUser: 568
storageSize: 500
wallet: 0xXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
webPort: 30000
zksync: true

View File

@@ -95,6 +95,23 @@ questions:
type: string
required: true
- variable: zksync
label: "Opt-in to zkSync"
description: Appends --operator.wallet-features=zksync flag to the storagenode command
group: "Configuration"
schema:
type: boolean
default: false
- variable: terminationGracePeriod
label: Termination Grace Period
description: Optional duration in seconds the pod needs to terminate gracefully.
group: "Configuration"
schema:
type: int
min: 30
default: 30
- variable: storageSize
label: "Configure Storage Size You Want To Share in GB's"
group: Storage

View File

@@ -27,6 +27,7 @@ spec:
{{- include "common.labels.selectorLabels" . | nindent 8 }}
annotations: {{ include "common.annotations" . | nindent 8 }}
spec:
terminationGracePeriodSeconds: {{ .Values.terminationGracePeriod | default 30 }}
initContainers:
- name: generate-identity
image: "alpine/curl:latest"
@@ -77,6 +78,10 @@ spec:
- name: udp
containerPort: 28967
protocol: UDP
{{ if .Values.zksync }}
args:
- --operator.wallet-features=zksync
{{ end }}
env:
{{ $envList := (default list .Values.environmentVariables) }}
{{ $envList = mustAppend $envList (dict "name" "WALLET" "valueFromSecret" true "secretName" "storj-credentials" "secretKey" "wallet") }}