Skip to content

Commit

Permalink
renterd 1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
artur9010 committed Jan 19, 2024
1 parent d1f7de1 commit d979f5e
Show file tree
Hide file tree
Showing 8 changed files with 70 additions and 7 deletions.
30 changes: 27 additions & 3 deletions index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,31 @@ entries:
renterd:
- apiVersion: v2
appVersion: 1.0.0
created: "2023-12-28T19:21:27.499300395Z"
created: "2024-01-19T12:36:10.531255932Z"
dependencies:
- condition: mysql.enabled
name: mysql
repository: https://charts.bitnami.com/bitnami
version: 9.16.0
description: Sia renterd helm chart
digest: fd4168d4b5f1dbf4e0e17f4a599bd22f1379a7dec605671a9dfd1f7c13b5b4c1
icon: https://i.imgur.com/pWg0PRK.png
keywords:
- storage
- distributed
- blockchain
- sia
- renter
- s3
- webui
name: renterd
type: application
urls:
- https://charts.motyka.pro/renterd-1.0.2.tgz
version: 1.0.2
- apiVersion: v2
appVersion: 1.0.0
created: "2024-01-19T12:36:10.526421531Z"
dependencies:
- condition: mysql.enabled
name: mysql
Expand All @@ -27,7 +51,7 @@ entries:
version: 1.0.1
- apiVersion: v2
appVersion: 1.0.0
created: "2023-12-28T19:21:27.49286681Z"
created: "2024-01-19T12:36:10.516465275Z"
dependencies:
- condition: mysql.enabled
name: mysql
Expand All @@ -41,4 +65,4 @@ entries:
urls:
- https://charts.motyka.pro/renterd-1.0.0.tgz
version: 1.0.0
generated: "2023-12-28T19:21:27.487055354Z"
generated: "2024-01-19T12:36:10.509394918Z"
Binary file added renterd-1.0.2.tgz
Binary file not shown.
2 changes: 1 addition & 1 deletion renterd/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: renterd
description: Sia renterd helm chart
type: application
version: 1.0.1
version: 1.0.2
appVersion: "1.0.0"
icon: https://i.imgur.com/pWg0PRK.png
keywords:
Expand Down
2 changes: 1 addition & 1 deletion renterd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Simple helm chart containing [Sia renterd software](https://sia.tech/software/re

```
helm repo add artur9010 https://charts.motyka.pro
helm install renterd artur9010/renterd --version 1.0.1
helm install renterd artur9010/renterd --version 1.0.2
```

## Requirements
Expand Down
12 changes: 12 additions & 0 deletions renterd/templates/statefulset-renterd-autopilot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,18 @@ spec:
checksum/configmap-renterd: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
checksum/secret-renterd-env: {{ include (print $.Template.BasePath "/secrets/renterd-env.yaml") . | sha256sum }}
spec:
automountServiceAccountToken: {{ .Values.renterd.autopilot.automountServiceAccountToken }}
initContainers:
- name: wait-for
image: ghcr.io/patrickdappollonio/wait-for:v1.0.0
args:
- --verbose
# Wait for bus before starting autopilot
- --host="renterd-bus:{{$.Values.service.http.port}}"
# Make sure all workers are online before starting autopilot
{{range $i, $e := until (int .Values.renterd.workers.replicas) }}
- --host="renterd-worker-{{$i}}.renterd-worker:{{$.Values.service.http.port}}"
{{end}}
containers:
- name: renterd
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
Expand Down
11 changes: 11 additions & 0 deletions renterd/templates/statefulset-renterd-bus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,17 @@ spec:
checksum/secret-renterd-env: {{ include (print $.Template.BasePath "/secrets/renterd-env.yaml") . | sha256sum }}
checksum/secret-renterd-bus-env: {{ include (print $.Template.BasePath "/secrets/renterd-bus-env.yaml") . | sha256sum }}
spec:
automountServiceAccountToken: {{ .Values.renterd.bus.automountServiceAccountToken }}
# initContainers:
# - name: wait-for
# image: ghcr.io/patrickdappollonio/wait-for:v1.0.0
# args:
# - --verbose
# # Wait for mysql before starting
# - --host="$(RENTERD_DB_URI)"
# envFrom:
# - secretRef:
# name: renterd-env
containers:
- name: renterd
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
Expand Down
8 changes: 8 additions & 0 deletions renterd/templates/statefulset-renterd-worker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ spec:
checksum/configmap-renterd: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
checksum/secret-renterd-env: {{ include (print $.Template.BasePath "/secrets/renterd-env.yaml") . | sha256sum }}
spec:
automountServiceAccountToken: {{ .Values.renterd.workers.automountServiceAccountToken }}
initContainers:
- name: wait-for
image: ghcr.io/patrickdappollonio/wait-for:v1.0.0
args:
- --verbose
# Wait for bus before starting autopilot
- --host="renterd-bus:{{$.Values.service.http.port}}"
containers:
- name: renterd
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
Expand Down
12 changes: 10 additions & 2 deletions renterd/values.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
image:
repository: ghcr.io/siafoundation/renterd
pullPolicy: IfNotPresent
tag: "1.0.0-zen"
tag: "1.0.2-zen"

service:
bus:
Expand Down Expand Up @@ -39,6 +39,8 @@ renterd:
affinity: {}
tolerations: {}
topologySpreadConstraints: {}
# as renterd does not need to access k8s api, I recommend leaving it off
automountServiceAccountToken: false
volume:
accessModes: [ "ReadWriteOnce" ]
storageClassName: "longhorn"
Expand All @@ -53,15 +55,19 @@ renterd:
affinity: {}
tolerations: {}
topologySpreadConstraints: {}
# as renterd does not need to access k8s api, I recommend leaving it off
automountServiceAccountToken: false
workers:
replicas: 5
replicas: 1
vpa:
enabled: false
resources: {}
nodeSelector: {}
affinity: {}
tolerations: {}
topologySpreadConstraints: {}
# as renterd does not need to access k8s api, I recommend leaving it off
automountServiceAccountToken: false

# automatic testnet faucet cron
autofaucet:
Expand Down Expand Up @@ -113,6 +119,8 @@ mysql:
databaseMetrics: "renterd_metrics"
username: "renterd"
password: "renterd"
primary:
extraFlags: "--max_connections=1024 --log_bin_trust_function_creators=1"

# Only used if mysql.enabled==false
mysqlExternal:
Expand Down

0 comments on commit d979f5e

Please sign in to comment.