diff --git a/index.yaml b/index.yaml index 55e5798..e5ee583 100644 --- a/index.yaml +++ b/index.yaml @@ -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: artur@motyka.pro + 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.1.0-beta.5 + created: "2024-10-09T00:12:25.557252681+02:00" + dependencies: + - condition: mysql.enabled + name: mysql + repository: https://charts.bitnami.com/bitnami + version: 11.1.17 + 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: f51eb66ff19b828e93610cc60d5aa1c97f32f8898d6dc3e5512195ebb2862684 + 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.10.tgz + version: 1.2.10 - annotations: artifacthub.io/category: storage artifacthub.io/links: | @@ -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.8 - created: "2024-10-01T01:32:39.127773513+02:00" + created: "2024-10-09T00:12:25.581559528+02:00" dependencies: - condition: mysql.enabled name: mysql @@ -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-10-01T01:32:39.117563373+02:00" + created: "2024-10-09T00:12:25.578436789+02:00" dependencies: - condition: mysql.enabled name: mysql @@ -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 - created: "2024-10-01T01:32:39.108025473+02:00" + created: "2024-10-09T00:12:25.575952212+02:00" dependencies: - condition: mysql.enabled name: mysql @@ -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 - created: "2024-10-01T01:32:39.096410726+02:00" + created: "2024-10-09T00:12:25.572476479+02:00" dependencies: - condition: mysql.enabled name: mysql @@ -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 - created: "2024-10-01T01:32:39.086502987+02:00" + created: "2024-10-09T00:12:25.569615473+02:00" dependencies: - condition: mysql.enabled name: mysql @@ -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.2 - created: "2024-10-01T01:32:39.076834898+02:00" + created: "2024-10-09T00:12:25.566351339+02:00" dependencies: - condition: mysql.enabled name: mysql @@ -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.8-beta.1 - created: "2024-10-01T01:32:39.065733246+02:00" + created: "2024-10-09T00:12:25.563609237+02:00" dependencies: - condition: mysql.enabled name: mysql @@ -431,7 +488,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-10-01T01:32:39.054599207+02:00" + created: "2024-10-09T00:12:25.560326597+02:00" dependencies: - condition: mysql.enabled name: mysql @@ -488,7 +545,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-10-01T01:32:39.044438297+02:00" + created: "2024-10-09T00:12:25.554693213+02:00" dependencies: - condition: mysql.enabled name: mysql @@ -545,7 +602,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-10-01T01:32:39.033194541+02:00" + created: "2024-10-09T00:12:25.55100494+02:00" dependencies: - condition: mysql.enabled name: mysql @@ -573,7 +630,7 @@ entries: version: 1.2.0 - apiVersion: v2 appVersion: 1.0.7 - created: "2024-10-01T01:32:39.021891377+02:00" + created: "2024-10-09T00:12:25.548037263+02:00" dependencies: - condition: mysql.enabled name: mysql @@ -597,7 +654,7 @@ entries: version: 1.1.4 - apiVersion: v2 appVersion: 1.0.6 - created: "2024-10-01T01:32:39.012002456+02:00" + created: "2024-10-09T00:12:25.544309345+02:00" dependencies: - condition: mysql.enabled name: mysql @@ -621,7 +678,7 @@ entries: version: 1.1.3 - apiVersion: v2 appVersion: 1.0.6 - created: "2024-10-01T01:32:38.999950052+02:00" + created: "2024-10-09T00:12:25.540939802+02:00" dependencies: - condition: mysql.enabled name: mysql @@ -645,7 +702,7 @@ entries: version: 1.1.2 - apiVersion: v2 appVersion: 1.0.5 - created: "2024-10-01T01:32:38.990021026+02:00" + created: "2024-10-09T00:12:25.538343755+02:00" dependencies: - condition: mysql.enabled name: mysql @@ -669,7 +726,7 @@ entries: version: 1.1.1 - apiVersion: v2 appVersion: 1.0.5 - created: "2024-10-01T01:32:38.977880039+02:00" + created: "2024-10-09T00:12:25.535352043+02:00" dependencies: - condition: mysql.enabled name: mysql @@ -693,7 +750,7 @@ entries: version: 1.1.0 - apiVersion: v2 appVersion: 1.0.5 - created: "2024-10-01T01:32:38.965150517+02:00" + created: "2024-10-09T00:12:25.532463266+02:00" dependencies: - condition: mysql.enabled name: mysql @@ -717,7 +774,7 @@ entries: version: 1.0.6 - apiVersion: v2 appVersion: 1.0.5 - created: "2024-10-01T01:32:38.95129023+02:00" + created: "2024-10-09T00:12:25.529038749+02:00" dependencies: - condition: mysql.enabled name: mysql @@ -741,7 +798,7 @@ entries: version: 1.0.5 - apiVersion: v2 appVersion: 1.0.5 - created: "2024-10-01T01:32:38.937677518+02:00" + created: "2024-10-09T00:12:25.526652276+02:00" dependencies: - condition: mysql.enabled name: mysql @@ -765,7 +822,7 @@ entries: version: 1.0.4 - apiVersion: v2 appVersion: 1.0.0 - created: "2024-10-01T01:32:38.925640629+02:00" + created: "2024-10-09T00:12:25.524039979+02:00" dependencies: - condition: mysql.enabled name: mysql @@ -789,7 +846,7 @@ entries: version: 1.0.3 - apiVersion: v2 appVersion: 1.0.0 - created: "2024-10-01T01:32:38.914046853+02:00" + created: "2024-10-09T00:12:25.520314065+02:00" dependencies: - condition: mysql.enabled name: mysql @@ -813,7 +870,7 @@ entries: version: 1.0.2 - apiVersion: v2 appVersion: 1.0.0 - created: "2024-10-01T01:32:38.90310131+02:00" + created: "2024-10-09T00:12:25.517667443+02:00" dependencies: - condition: mysql.enabled name: mysql @@ -837,7 +894,7 @@ entries: version: 1.0.1 - apiVersion: v2 appVersion: 1.0.0 - created: "2024-10-01T01:32:38.889160015+02:00" + created: "2024-10-09T00:12:25.514346822+02:00" dependencies: - condition: mysql.enabled name: mysql @@ -851,4 +908,4 @@ entries: urls: - renterd-1.0.0.tgz version: 1.0.0 -generated: "2024-10-01T01:32:38.87037772+02:00" +generated: "2024-10-09T00:12:25.511788516+02:00" diff --git a/renterd-1.2.10.tgz b/renterd-1.2.10.tgz new file mode 100644 index 0000000..bacfd21 Binary files /dev/null and b/renterd-1.2.10.tgz differ diff --git a/renterd/Chart.yaml b/renterd/Chart.yaml index 81cd81c..56a8f30 100644 --- a/renterd/Chart.yaml +++ b/renterd/Chart.yaml @@ -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.9 -appVersion: "1.0.8" +version: 1.2.10 +appVersion: "1.1.0-beta.5" home: https://sia.tech icon: https://i.imgur.com/pWg0PRK.png keywords: diff --git a/renterd/README.md b/renterd/README.md index 40e5f52..da5789e 100644 --- a/renterd/README.md +++ b/renterd/README.md @@ -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.9 +helm install renterd artur9010/renterd --version 1.2.10 ``` ## Requirements @@ -186,11 +186,16 @@ See `values.yaml` file. ## Other? This chart: -- 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 +- disables logging inside renterd ## Changelog +### 1.2.10 +- Added an option to add a sidecar container with ubuntu to renterd-bus pod to make checking renterd files a bit easier. +- Upgraded renterd to `1.1.0-beta.5`. You might need to change ports, check 1.2.7 below. +- Removed default securityContext from values, if you were using old default 1000:1000 you will need to restore that. +- Added an option to disable volume creation for bus - see `bus.volume.enabled` in values. + ### 1.2.9 - Removed CronJob for automatic faucet claim as it is not working for more than 2 months. - Upgraded `bitnami/mysql` chart to `11.1.17` diff --git a/renterd/templates/statefulset-renterd-bus.yaml b/renterd/templates/statefulset-renterd-bus.yaml index 7903d7e..953e30d 100644 --- a/renterd/templates/statefulset-renterd-bus.yaml +++ b/renterd/templates/statefulset-renterd-bus.yaml @@ -62,8 +62,10 @@ spec: initialDelaySeconds: 15 periodSeconds: 10 volumeMounts: + {{ if .Values.bus.volume.enabled }} - mountPath: "/data" name: renterd-bus-data + {{ end }} - mountPath: "/data/renterd.yml" name: renterd-bus-config subPath: "renterd.yml" @@ -97,13 +99,30 @@ spec: {{- if .Values.workers.topologySpreadConstraints }} topologySpreadConstraints: {{- .Values.workers.topologySpreadConstraints | toYaml | nindent 12 }} {{- end }} + {{ if .Values.bus.managementContainer.enable }} + - name: management + image: "{{ .Values.bus.managementContainer.image }}" + imagePullPolicy: {{ .Values.image.pullPolicy }} + command: ["sleep", "99999999"] + workingDir: /data + volumeMounts: + {{ if .Values.bus.volume.enabled }} + - mountPath: "/data" + name: renterd-bus-data + {{ end }} + - mountPath: "/data/renterd.yml" + name: renterd-bus-config + subPath: "renterd.yml" + {{ end }} volumes: - name: renterd-bus-config configMap: name: renterd-bus defaultMode: 0755 + {{ if .Values.bus.volume.enabled }} volumeClaimTemplates: - metadata: name: renterd-bus-data spec: {{- toYaml .Values.bus.volume | nindent 8 }} + {{ end }} \ No newline at end of file diff --git a/renterd/values.yaml b/renterd/values.yaml index bcff140..0591669 100644 --- a/renterd/values.yaml +++ b/renterd/values.yaml @@ -1,7 +1,7 @@ image: repository: ghcr.io/siafoundation/renterd pullPolicy: IfNotPresent - tag: "1.0.8" + tag: "1.1.0-beta.5" service: bus: @@ -53,16 +53,26 @@ bus: # as renterd does not need to access k8s api, I recommend leaving it off automountServiceAccountToken: false enableServiceLinks: false - securityContext: - runAsUser: 1000 - runAsGroup: 1000 - fsGroup: 1000 + securityContext: {} + # runAsUser: 1000 + # runAsGroup: 1000 + # fsGroup: 1000 + + # If you are planning to use renterd with mysql and without upload packing, + # you can disable volume creation and mounting here. volume: + enabled: true accessModes: [ "ReadWriteOnce" ] storageClassName: "longhorn" resources: requests: storage: 10Gi + # as renterd image lacks any tools (or even a shell), you can easily add a second container to a pod + # which make performing most of mainteance tasks a lot easier. It's just a container with ubuntu and infinite sleep + # It was added as a quick workaround to the lack of option to quickly view renterd files. + managementContainer: + enable: false + image: "ubuntu:24.04" autopilot: enabled: true @@ -85,10 +95,10 @@ autopilot: # as renterd does not need to access k8s api, I recommend leaving it off automountServiceAccountToken: false enableServiceLinks: false - securityContext: - runAsUser: 1000 - runAsGroup: 1000 - fsGroup: 1000 + securityContext: {} + # runAsUser: 1000 + # runAsGroup: 1000 + # fsGroup: 1000 workers: # renterd config - worker section @@ -110,10 +120,10 @@ workers: # as renterd does not need to access k8s api, I recommend leaving it off automountServiceAccountToken: false enableServiceLinks: false - securityContext: - runAsUser: 1000 - runAsGroup: 1000 - fsGroup: 1000 + securityContext: {} + # runAsUser: 1000 + # runAsGroup: 1000 + # fsGroup: 1000 ingresses: [] # - name: "renterd"