fix(homarr): BREAKING update homarr to new repo and rework (#41089)

**Description**
<!--
Please include a summary of the change and which issue is fixed. Please
also include relevant motivation and context. List any dependencies that
are required for this change.
-->
⚒️ Fixes  https://github.com/trueforge-org/truecharts/issues/41078

**⚙️ Type of change**

- [ ] ⚙️ Feature/App addition
- [ ] 🪛 Bugfix
- [x] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] 🔃 Refactor of current code
- [ ] 📜 Documentation Changes

**🧪 How Has This Been Tested?**
<!--
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration
-->

**📃 Notes:**
<!-- Please enter any other relevant information here -->

**✔️ Checklist:**

- [x] ⚖️ My code follows the style guidelines of this project
- [x] 👀 I have performed a self-review of my own code
- [ ] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [ ] 📄 I have made changes to the documentation
- [ ] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [x] ⬆️ I increased versions for any altered app according to semantic
versioning
- [x] I made sure the title starts with `feat(chart-name):`,
`fix(chart-name):`, `chore(chart-name):`, `docs(chart-name):` or
`fix(docs):`

** App addition**

If this PR is an app addition please make sure you have done the
following.

- [ ] 🖼️ I have added an icon in the Chart's root directory called
`icon.png`

---

_Please don't blindly check all the boxes. Read them and only check
those that apply.
Those checkboxes are there for the reviewer to see what is this all
about and
the status of this PR with a quick glance._
This commit is contained in:
Alfred Göppel
2025-10-25 18:04:20 +02:00
committed by GitHub
parent 22bfe8a213
commit 875117594f
5 changed files with 22 additions and 37 deletions
+1 -2
View File
@@ -38,5 +38,4 @@ sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/homarr
- https://github.com/trueforge-org/truecharts/tree/master/charts/stable/homarr
type: application
version: 13.12.1
version: 14.0.0
+7
View File
@@ -0,0 +1,7 @@
workload:
main:
podSpec:
containers:
main:
env:
SECRET_ENCRYPTION_KEY: "5801692428cc4cd9d5323ad13be2b14b4eb56dd0fdb77acb8a56ad6ac9b4f3f3"
@@ -1,10 +0,0 @@
{{- define "homarr.secrets" -}}
{{- $secretName := (printf "%s-homarr-secrets" (include "tc.v1.common.lib.chart.names.fullname" $)) }}
{{- $secret := randAlphaNum 32 -}}
{{- with (lookup "v1" "Secret" .Release.Namespace $secretName) -}}
{{- $secret = index .data "NEXTAUTH_SECRET" | b64dec -}}
{{- end }}
enabled: true
data:
NEXTAUTH_SECRET: {{ $secret }}
{{- end -}}
+1 -11
View File
@@ -1,11 +1 @@
{{/* Make sure all variables are set properly */}}
{{- include "tc.v1.common.loader.init" . }}
{{/* Render secrets for homarr */}}
{{- $secrets := include "homarr.secrets" . | fromYaml -}}
{{- if $secrets -}}
{{- $_ := set .Values.secret "homarr-secrets" $secrets -}}
{{- end -}}
{{/* Render the templates */}}
{{ include "tc.v1.common.loader.apply" . }}
{{ include "tc.v1.common.loader.all" . }}
+13 -14
View File
@@ -1,6 +1,6 @@
image:
repository: ghcr.io/ajnart/homarr
tag: 0.16.0@sha256:737ec361ed248b6d2b62b037da816f283b0484e0b94bc9876945c7c602e7307c
repository: ghcr.io/homarr-labs/homarr
tag: v1.43.0@sha256:fd9bf160a3a19fe7fd05e4ceb3f95578b2c356ebc230ebcaca65bd7cd1fd8a0f
pullPolicy: IfNotPresent
workload:
main:
@@ -8,10 +8,7 @@ workload:
containers:
main:
env:
NEXTAUTH_SECRET:
secretKeyRef:
name: homarr-secrets
key: NEXTAUTH_SECRET
SECRET_ENCRYPTION_KEY: "changemeplease"
service:
main:
ports:
@@ -19,12 +16,14 @@ service:
port: 10245
targetPort: 7575
persistence:
config:
appdata:
enabled: true
mountPath: "/app/data/configs"
icons:
enabled: true
mountPath: "/app/public/icons"
data:
enabled: true
mountPath: "/data"
mountPath: "/appdata"
varrun:
enabled: false
securityContext:
container:
readOnlyRootFilesystem: false
runAsNonRoot: false
runAsUser: 0
runAsGroup: 0