Skip to content

Commit

Permalink
renterd 1.2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
artur9010 committed Aug 12, 2024
1 parent a912f61 commit 907e03f
Show file tree
Hide file tree
Showing 8 changed files with 91 additions and 60 deletions.
97 changes: 77 additions & 20 deletions index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,64 @@ 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.8
created: "2024-08-12T17:47:18.931169+02:00"
created: "2024-08-12T19:41:36.86964+02:00"
dependencies:
- condition: mysql.enabled
name: mysql
repository: https://charts.bitnami.com/bitnami
version: 11.1.14
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: 93873b1de4a58f635c3acfd6475f89124d1eecb47cd781fad4a64325d2a03f86
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.7.tgz
version: 1.2.7
- 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
created: "2024-08-12T19:41:36.865012+02:00"
dependencies:
- condition: mysql.enabled
name: mysql
Expand Down Expand Up @@ -89,7 +146,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.8
created: "2024-08-12T17:47:18.927106+02:00"
created: "2024-08-12T19:41:36.859972+02:00"
dependencies:
- condition: mysql.enabled
name: mysql
Expand Down Expand Up @@ -146,7 +203,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.8-beta.2
created: "2024-08-12T17:47:18.92222+02:00"
created: "2024-08-12T19:41:36.853598+02:00"
dependencies:
- condition: mysql.enabled
name: mysql
Expand Down Expand Up @@ -203,7 +260,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.8-beta.1
created: "2024-08-12T17:47:18.917388+02:00"
created: "2024-08-12T19:41:36.847234+02:00"
dependencies:
- condition: mysql.enabled
name: mysql
Expand Down Expand Up @@ -260,7 +317,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.8-beta.1
created: "2024-08-12T17:47:18.912662+02:00"
created: "2024-08-12T19:41:36.839518+02:00"
dependencies:
- condition: mysql.enabled
name: mysql
Expand Down Expand Up @@ -317,7 +374,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.8-beta.1
created: "2024-08-12T17:47:18.907329+02:00"
created: "2024-08-12T19:41:36.833425+02:00"
dependencies:
- condition: mysql.enabled
name: mysql
Expand Down Expand Up @@ -374,7 +431,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-08-12T17:47:18.902415+02:00"
created: "2024-08-12T19:41:36.826563+02:00"
dependencies:
- condition: mysql.enabled
name: mysql
Expand Down Expand Up @@ -402,7 +459,7 @@ entries:
version: 1.2.0
- apiVersion: v2
appVersion: 1.0.7
created: "2024-08-12T17:47:18.897035+02:00"
created: "2024-08-12T19:41:36.819427+02:00"
dependencies:
- condition: mysql.enabled
name: mysql
Expand All @@ -426,7 +483,7 @@ entries:
version: 1.1.4
- apiVersion: v2
appVersion: 1.0.6
created: "2024-08-12T17:47:18.892712+02:00"
created: "2024-08-12T19:41:36.814167+02:00"
dependencies:
- condition: mysql.enabled
name: mysql
Expand All @@ -450,7 +507,7 @@ entries:
version: 1.1.3
- apiVersion: v2
appVersion: 1.0.6
created: "2024-08-12T17:47:18.887721+02:00"
created: "2024-08-12T19:41:36.807525+02:00"
dependencies:
- condition: mysql.enabled
name: mysql
Expand All @@ -474,7 +531,7 @@ entries:
version: 1.1.2
- apiVersion: v2
appVersion: 1.0.5
created: "2024-08-12T17:47:18.883359+02:00"
created: "2024-08-12T19:41:36.803035+02:00"
dependencies:
- condition: mysql.enabled
name: mysql
Expand All @@ -498,7 +555,7 @@ entries:
version: 1.1.1
- apiVersion: v2
appVersion: 1.0.5
created: "2024-08-12T17:47:18.879263+02:00"
created: "2024-08-12T19:41:36.798826+02:00"
dependencies:
- condition: mysql.enabled
name: mysql
Expand All @@ -522,7 +579,7 @@ entries:
version: 1.1.0
- apiVersion: v2
appVersion: 1.0.5
created: "2024-08-12T17:47:18.874631+02:00"
created: "2024-08-12T19:41:36.793785+02:00"
dependencies:
- condition: mysql.enabled
name: mysql
Expand All @@ -546,7 +603,7 @@ entries:
version: 1.0.6
- apiVersion: v2
appVersion: 1.0.5
created: "2024-08-12T17:47:18.870616+02:00"
created: "2024-08-12T19:41:36.789745+02:00"
dependencies:
- condition: mysql.enabled
name: mysql
Expand All @@ -570,7 +627,7 @@ entries:
version: 1.0.5
- apiVersion: v2
appVersion: 1.0.5
created: "2024-08-12T17:47:18.865441+02:00"
created: "2024-08-12T19:41:36.784702+02:00"
dependencies:
- condition: mysql.enabled
name: mysql
Expand All @@ -594,7 +651,7 @@ entries:
version: 1.0.4
- apiVersion: v2
appVersion: 1.0.0
created: "2024-08-12T17:47:18.861553+02:00"
created: "2024-08-12T19:41:36.780462+02:00"
dependencies:
- condition: mysql.enabled
name: mysql
Expand All @@ -618,7 +675,7 @@ entries:
version: 1.0.3
- apiVersion: v2
appVersion: 1.0.0
created: "2024-08-12T17:47:18.856302+02:00"
created: "2024-08-12T19:41:36.774547+02:00"
dependencies:
- condition: mysql.enabled
name: mysql
Expand All @@ -642,7 +699,7 @@ entries:
version: 1.0.2
- apiVersion: v2
appVersion: 1.0.0
created: "2024-08-12T17:47:18.852505+02:00"
created: "2024-08-12T19:41:36.770716+02:00"
dependencies:
- condition: mysql.enabled
name: mysql
Expand All @@ -666,7 +723,7 @@ entries:
version: 1.0.1
- apiVersion: v2
appVersion: 1.0.0
created: "2024-08-12T17:47:18.84721+02:00"
created: "2024-08-12T19:41:36.765073+02:00"
dependencies:
- condition: mysql.enabled
name: mysql
Expand All @@ -680,4 +737,4 @@ entries:
urls:
- renterd-1.0.0.tgz
version: 1.0.0
generated: "2024-08-12T17:47:18.843003+02:00"
generated: "2024-08-12T19:41:36.760742+02:00"
Binary file added renterd-1.2.7.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: 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.6
version: 1.2.7
appVersion: "1.0.8"
home: https://sia.tech
icon: https://i.imgur.com/pWg0PRK.png
Expand Down
11 changes: 7 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.5
helm install renterd artur9010/renterd --version 1.2.7
```

## Requirements
Expand Down Expand Up @@ -186,13 +186,16 @@ See `values.yaml` file.
## Other?

This chart:
- provides a custom entrypoint for renterd containers that:
- makes sure to run renterd on ports provided in values
- disables writing to a logfile (which removes a requirement to mount a volume to workers and autopilot, as non-root non-existing user cannot write anywhere)
- disables logging inside renterd, as you are running this app in k8s - you should have already some custom log collecting solution like filebeat, it also removes a requirement to have a volume attached to worker/autopilot pods.
- runs renterd as non-root user

## Changelog

### 1.2.7
** If you are running renterd on test network - you will need to set proper service ports in values, 9880 for http, 7070 for s3. If running dev builds built after 12/08/2024 - you don't need to care about it as all images now are running on default ports 9980 and 8080. **

- Removed custom entrypoint due to issues with current dev builds

### 1.2.6
- Upgraded `bitnami/mysql` chart to `11.1.14`
- Added an option to specify network name (https://github.com/SiaFoundation/renterd/pull/1423)
Expand Down
11 changes: 0 additions & 11 deletions renterd/templates/configmaps/renterd.yaml

This file was deleted.

10 changes: 2 additions & 8 deletions renterd/templates/statefulset-renterd-autopilot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ spec:
{{- include "renterd.selectorLabels" . | nindent 8 }}
app.kubernetes.io/component: autopilot
annotations:
checksum/configmap-renterd: {{ include (print $.Template.BasePath "/configmaps/renterd.yaml") . | sha256sum }}
checksum/configmap-renterd-autopilot: {{ include (print $.Template.BasePath "/configmaps/renterd-autopilot.yaml") . | sha256sum }}
spec:
automountServiceAccountToken: {{ .Values.autopilot.automountServiceAccountToken }}
Expand Down Expand Up @@ -64,9 +63,6 @@ spec:
- mountPath: "/data/renterd.yml"
name: renterd-autopilot-config
subPath: "renterd.yml"
- mountPath: "/entrypoint.sh"
name: renterd-config
subPath: "entrypoint.sh"
envFrom:
- secretRef:
name: {{ .Values.secretName | quote }}
Expand All @@ -81,6 +77,8 @@ spec:
value: {{ include "renterd.workerAddrs" . | quote }}
- name: RENTERD_NETWORK
value: "{{ .Values.network }}"
- name: RENTERD_LOG_FILE_ENABLED
value: "false"
resources:
{{- toYaml .Values.autopilot.resources | nindent 12 }}
{{- if .Values.autopilot.nodeSelector }}
Expand All @@ -96,10 +94,6 @@ spec:
topologySpreadConstraints: {{- .Values.autopilot.topologySpreadConstraints | toYaml | nindent 12 }}
{{- end }}
volumes:
- name: renterd-config
configMap:
name: renterd
defaultMode: 0755
- name: renterd-autopilot-config
configMap:
name: renterd-autopilot
Expand Down
10 changes: 2 additions & 8 deletions renterd/templates/statefulset-renterd-bus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ spec:
{{- include "renterd.selectorLabels" . | nindent 8 }}
app.kubernetes.io/component: bus
annotations:
checksum/configmap-renterd: {{ include (print $.Template.BasePath "/configmaps/renterd.yaml") . | sha256sum }}
checksum/configmap-renterd-bus: {{ include (print $.Template.BasePath "/configmaps/renterd-bus.yaml") . | sha256sum }}
checksum/secret-renterd-mysql: {{ include (print $.Template.BasePath "/secrets/renterd-mysql.yaml") . | sha256sum }}
spec:
Expand Down Expand Up @@ -68,9 +67,6 @@ spec:
- mountPath: "/data/renterd.yml"
name: renterd-bus-config
subPath: "renterd.yml"
- mountPath: "/entrypoint.sh"
name: renterd-config
subPath: "entrypoint.sh"
envFrom:
- secretRef:
name: {{ .Values.secretName | quote }}
Expand All @@ -85,6 +81,8 @@ spec:
value: "false"
- name: RENTERD_NETWORK
value: "{{ .Values.network }}"
- name: RENTERD_LOG_FILE_ENABLED
value: "false"
resources:
{{- toYaml .Values.bus.resources | nindent 12 }}
{{- if .Values.bus.nodeSelector }}
Expand All @@ -100,10 +98,6 @@ spec:
topologySpreadConstraints: {{- .Values.workers.topologySpreadConstraints | toYaml | nindent 12 }}
{{- end }}
volumes:
- name: renterd-config
configMap:
name: renterd
defaultMode: 0755
- name: renterd-bus-config
configMap:
name: renterd-bus
Expand Down
10 changes: 2 additions & 8 deletions renterd/templates/statefulset-renterd-worker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ spec:
{{- include "renterd.selectorLabels" . | nindent 8 }}
app.kubernetes.io/component: worker
annotations:
checksum/configmap-renterd: {{ include (print $.Template.BasePath "/configmaps/renterd.yaml") . | sha256sum }}
checksum/configmap-renterd-worker: {{ include (print $.Template.BasePath "/configmaps/renterd-worker.yaml") . | sha256sum }}
spec:
automountServiceAccountToken: {{ .Values.workers.automountServiceAccountToken }}
Expand Down Expand Up @@ -61,9 +60,6 @@ spec:
- mountPath: "/data/renterd.yml"
name: renterd-worker-config
subPath: "renterd.yml"
- mountPath: "/entrypoint.sh"
name: renterd-config
subPath: "entrypoint.sh"
env:
- name: RENTERD_WORKER_ID
valueFrom:
Expand All @@ -85,6 +81,8 @@ spec:
value: "http://$(POD_NAME).renterd-worker:{{ .Values.service.http.port }}/api/worker"
- name: RENTERD_NETWORK
value: "{{ .Values.network }}"
- name: RENTERD_LOG_FILE_ENABLED
value: "false"
envFrom:
- secretRef:
name: {{ .Values.secretName | quote }}
Expand All @@ -103,10 +101,6 @@ spec:
topologySpreadConstraints: {{- .Values.workers.topologySpreadConstraints | toYaml | nindent 12 }}
{{- end }}
volumes:
- name: renterd-config
configMap:
name: renterd
defaultMode: 0755
- name: renterd-worker-config
configMap:
name: renterd-worker
Expand Down

0 comments on commit 907e03f

Please sign in to comment.