Skip to content

Commit

Permalink
renterd 1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
artur9010 committed Jun 28, 2024
1 parent be8aa24 commit 78aa6de
Show file tree
Hide file tree
Showing 9 changed files with 103 additions and 25 deletions.
85 changes: 71 additions & 14 deletions index.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,63 @@
apiVersion: v1
entries:
renterd:
- annotations:
artifacthub.io/category: storage
artifacthub.io/links: |
- name: support
url: https://github.com/artur9010/charts/issues
- name: Chart GitHub repository
url: https://github.com/artur9010/charts
- name: renterd GitHub repository
url: https://github.com/SiaFoundation/renterd
artifacthub.io/maintainers: |
- name: artur9010
email: [email protected]
artifacthub.io/screenshots: |
- title: Files
url: https://sia.tech/_next/image?url=https%3A%2F%2Fsia.tech%2Fassets%2Frenterd%2Ffiles.png&w=1920&q=100
- title: Contracts
url: https://sia.tech/_next/image?url=https%3A%2F%2Fsia.tech%2Fassets%2Frenterd%2Fcontracts.png&w=1920&q=100
- title: Hosts
url: https://sia.tech/_next/image?url=https%3A%2F%2Fsia.tech%2Fassets%2Frenterd%2Fhosts.png&w=1920&q=100
- title: Autopilot
url: https://sia.tech/_next/image?url=https%3A%2F%2Fsia.tech%2Fassets%2Frenterd%2Fautopilot.png&w=1920&q=100
- title: Config
url: https://sia.tech/_next/image?url=https%3A%2F%2Fsia.tech%2Fassets%2Frenterd%2Fconfig.png&w=1920&q=100
- title: Wallet
url: https://sia.tech/_next/image?url=https%3A%2F%2Fsia.tech%2Fassets%2Frenterd%2Fwallet.png&w=1920&q=100
- title: Node
url: https://sia.tech/_next/image?url=https%3A%2F%2Fsia.tech%2Fassets%2Frenterd%2Fnode.png&w=1920&q=100
- title: Preferences
url: https://sia.tech/_next/image?url=https%3A%2F%2Fsia.tech%2Fassets%2Frenterd%2Fpreferences.png&w=1920&q=100
apiVersion: v2
appVersion: 1.0.8-beta.1
created: "2024-06-28T17:31:14.045214+02:00"
dependencies:
- condition: mysql.enabled
name: mysql
repository: https://charts.bitnami.com/bitnami
version: 11.1.2
description: renterd is a next-generation Sia renter, developed by the Sia Foundation.
It aims to serve the needs of both everyday users — who want a simple interface
for storing and retrieving their personal data — and developers — who want a
powerful, flexible, and reliable API for building apps on Sia.
digest: ad6e39875771a9b8c864129f6458e24057fc3b61cde5770cbd8be2b31a9ab3e8
home: https://sia.tech
icon: https://i.imgur.com/pWg0PRK.png
keywords:
- storage
- distributed
- blockchain
- sia
- renter
- s3
- webui
name: renterd
type: application
urls:
- renterd-1.2.1.tgz
version: 1.2.1
- annotations:
artifacthub.io/category: storage
artifacthub.io/links: |
Expand Down Expand Up @@ -32,7 +89,7 @@ entries:
url: https://sia.tech/_next/image?url=https%3A%2F%2Fsia.tech%2Fassets%2Frenterd%2Fpreferences.png&w=1920&q=100
apiVersion: v2
appVersion: 1.0.7
created: "2024-06-08T20:43:40.150974+02:00"
created: "2024-06-28T17:31:14.040823+02:00"
dependencies:
- condition: mysql.enabled
name: mysql
Expand Down Expand Up @@ -60,7 +117,7 @@ entries:
version: 1.2.0
- apiVersion: v2
appVersion: 1.0.7
created: "2024-06-08T20:43:40.139172+02:00"
created: "2024-06-28T17:31:14.036222+02:00"
dependencies:
- condition: mysql.enabled
name: mysql
Expand All @@ -84,7 +141,7 @@ entries:
version: 1.1.4
- apiVersion: v2
appVersion: 1.0.6
created: "2024-06-08T20:43:40.127138+02:00"
created: "2024-06-28T17:31:14.031384+02:00"
dependencies:
- condition: mysql.enabled
name: mysql
Expand All @@ -108,7 +165,7 @@ entries:
version: 1.1.3
- apiVersion: v2
appVersion: 1.0.6
created: "2024-06-08T20:43:40.116959+02:00"
created: "2024-06-28T17:31:14.026947+02:00"
dependencies:
- condition: mysql.enabled
name: mysql
Expand All @@ -132,7 +189,7 @@ entries:
version: 1.1.2
- apiVersion: v2
appVersion: 1.0.5
created: "2024-06-08T20:43:40.108707+02:00"
created: "2024-06-28T17:31:14.022462+02:00"
dependencies:
- condition: mysql.enabled
name: mysql
Expand All @@ -156,7 +213,7 @@ entries:
version: 1.1.1
- apiVersion: v2
appVersion: 1.0.5
created: "2024-06-08T20:43:40.098025+02:00"
created: "2024-06-28T17:31:14.017665+02:00"
dependencies:
- condition: mysql.enabled
name: mysql
Expand All @@ -180,7 +237,7 @@ entries:
version: 1.1.0
- apiVersion: v2
appVersion: 1.0.5
created: "2024-06-08T20:43:40.0916+02:00"
created: "2024-06-28T17:31:14.013641+02:00"
dependencies:
- condition: mysql.enabled
name: mysql
Expand All @@ -204,7 +261,7 @@ entries:
version: 1.0.6
- apiVersion: v2
appVersion: 1.0.5
created: "2024-06-08T20:43:40.082274+02:00"
created: "2024-06-28T17:31:14.009142+02:00"
dependencies:
- condition: mysql.enabled
name: mysql
Expand All @@ -228,7 +285,7 @@ entries:
version: 1.0.5
- apiVersion: v2
appVersion: 1.0.5
created: "2024-06-08T20:43:40.073808+02:00"
created: "2024-06-28T17:31:14.004879+02:00"
dependencies:
- condition: mysql.enabled
name: mysql
Expand All @@ -252,7 +309,7 @@ entries:
version: 1.0.4
- apiVersion: v2
appVersion: 1.0.0
created: "2024-06-08T20:43:40.068512+02:00"
created: "2024-06-28T17:31:14.000621+02:00"
dependencies:
- condition: mysql.enabled
name: mysql
Expand All @@ -276,7 +333,7 @@ entries:
version: 1.0.3
- apiVersion: v2
appVersion: 1.0.0
created: "2024-06-08T20:43:40.061169+02:00"
created: "2024-06-28T17:31:13.996297+02:00"
dependencies:
- condition: mysql.enabled
name: mysql
Expand All @@ -300,7 +357,7 @@ entries:
version: 1.0.2
- apiVersion: v2
appVersion: 1.0.0
created: "2024-06-08T20:43:40.056391+02:00"
created: "2024-06-28T17:31:13.99234+02:00"
dependencies:
- condition: mysql.enabled
name: mysql
Expand All @@ -324,7 +381,7 @@ entries:
version: 1.0.1
- apiVersion: v2
appVersion: 1.0.0
created: "2024-06-08T20:43:40.047004+02:00"
created: "2024-06-28T17:31:13.986937+02:00"
dependencies:
- condition: mysql.enabled
name: mysql
Expand All @@ -338,4 +395,4 @@ entries:
urls:
- renterd-1.0.0.tgz
version: 1.0.0
generated: "2024-06-08T20:43:40.039394+02:00"
generated: "2024-06-28T17:31:13.982628+02:00"
Binary file added renterd-1.2.1.tgz
Binary file not shown.
4 changes: 2 additions & 2 deletions renterd/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: renterd
description: renterd is a next-generation Sia renter, developed by the Sia Foundation. It aims to serve the needs of both everyday users — who want a simple interface for storing and retrieving their personal data — and developers — who want a powerful, flexible, and reliable API for building apps on Sia.
type: application
version: 1.2.0
appVersion: "1.0.7"
version: 1.2.1
appVersion: "1.0.8-beta.1"
home: https://sia.tech
icon: https://i.imgur.com/pWg0PRK.png
keywords:
Expand Down
12 changes: 8 additions & 4 deletions renterd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Helm chart for [Sia renterd software](https://sia.tech/software/renterd).

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

## Requirements
Expand Down Expand Up @@ -94,15 +94,14 @@ This helm chart has built-in automatic faucet claimer for Sia Zen testnet, you c

## Ingress

Default config has two subdomains (for renterd api and s3 api), but you can modify it to put all of these on one subdomain or remove some of them.

Example configuration (with cert-manager annotation to automate certificate issuing):

```yaml
ingresses:
- name: "renterd"
className: "traefik"
annotations: {}
annotations:
cert-manager.io/cluster-issuer: letsencrypt
hosts:
- host: renterd.example.com
paths:
Expand Down Expand Up @@ -187,6 +186,11 @@ This chart:

## Changelog

### 1.2.1
- Changed wait-for image from `ghcr.io/patrickdappollonio/wait-for:v1.0.0` to `artur9010/wait-for:v1.0.0` due to lack of arm64 compatibility.
- Changed default image from `renterd:1.0.7` to `renterd:1.0.8-beta.1`
- Added support for `RENTERD_WORKER_EXTERNAL_ADDR` (required now in clustered setups)

### 1.2.0
**There are breaking changes, read before updating**
- Upgraded `bitnami/mysql` chart to `11.1.2`, mysql was updated to 8.4 and mysql_native_password authentication was disabled by default. Before upgrading please migrate renterd user password hashing to `caching_sha2_password` - see https://stackoverflow.com/questions/76851219/how-to-migrate-mysql-authentication-from-mysql-native-password-to-caching-sha2-p
Expand Down
2 changes: 1 addition & 1 deletion renterd/templates/configmaps/renterd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ data:
entrypoint.sh: |
#!/bin/sh
# Managed by Helm - configmap/renterd/entrypoint.sh
exec renterd --http=':{{ .Values.service.http.port }}' --s3.address=':{{ .Values.service.s3.port }}' --log.file.enabled=false "$@"
exec renterd --http=':{{ .Values.service.http.port }}' --s3.address=':{{ .Values.service.s3.port }}' --log.file.enabled=false "$@"
11 changes: 10 additions & 1 deletion renterd/templates/statefulset-renterd-autopilot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
{{- end }}
initContainers:
- name: wait-for
image: ghcr.io/patrickdappollonio/wait-for:v1.0.0
image: artur9010/wait-for:v1.0.0
args:
- --verbose
- --timeout=60s
Expand Down Expand Up @@ -78,6 +78,15 @@ spec:
value: {{ include "renterd.busAddr" . | quote }}
- name: RENTERD_WORKER_REMOTE_ADDRS
value: {{ include "renterd.workerAddrs" . | quote }}
# temporary i guess?
# Used in RENTERD_WORKER_EXTERNAL_ADDR
- name: POD_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
# TODO: replace with cluster dns
- name: RENTERD_WORKER_EXTERNAL_ADDR
value: "http://$(POD_IP):{{ .Values.service.http.port }}"
resources:
{{- toYaml .Values.autopilot.resources | nindent 12 }}
{{- if .Values.autopilot.nodeSelector }}
Expand Down
2 changes: 1 addition & 1 deletion renterd/templates/statefulset-renterd-bus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
{{- end }}
initContainers:
- name: wait-for
image: ghcr.io/patrickdappollonio/wait-for:v1.0.0
image: artur9010/wait-for:v1.0.0
args:
- --verbose
- --timeout=60s
Expand Down
10 changes: 9 additions & 1 deletion renterd/templates/statefulset-renterd-worker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
{{- end }}
initContainers:
- name: wait-for
image: ghcr.io/patrickdappollonio/wait-for:v1.0.0
image: artur9010/wait-for:v1.0.0
args:
- --verbose
- --timeout=60s
Expand Down Expand Up @@ -75,6 +75,14 @@ spec:
value: "true"
- name: RENTERD_BUS_REMOTE_ADDR
value: {{ include "renterd.busAddr" . | quote }}
# Used in RENTERD_WORKER_EXTERNAL_ADDR
- name: POD_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
# TODO: replace with cluster dns
- name: RENTERD_WORKER_EXTERNAL_ADDR
value: "http://$(POD_IP):{{ .Values.service.http.port }}"
envFrom:
- secretRef:
name: {{ .Values.secretName | quote }}
Expand Down
2 changes: 1 addition & 1 deletion 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.7"
tag: "1.0.8-beta.1"

service:
bus:
Expand Down

0 comments on commit 78aa6de

Please sign in to comment.