Compare commits
49 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c5bbe3d17f | |||
| a2686fac96 | |||
| 9214a4dde2 | |||
| a52f8ccf8d | |||
| fbe9eeec21 | |||
| fc1df98503 | |||
| e4b36e7822 | |||
| 6b2f69feaa | |||
| 03b8af9b78 | |||
| b98a0928cd | |||
| c9bc5cadc4 | |||
| 51581714ed | |||
| a8610dc27e | |||
| ad449b9e72 | |||
| ddb2797b10 | |||
| 8b14b0e99e | |||
| 2b260bc2eb | |||
| d4f09f2cd9 | |||
| 8a807d3e5c | |||
| 8b4b0df92c | |||
| da1e8045d0 | |||
| fd73c41152 | |||
| b96703f2df | |||
| e147d829e7 | |||
| 24be0b45fd | |||
| 628a63da83 | |||
| 6ee7d83f66 | |||
| 69db2c609f | |||
| c308c0a85e | |||
| 0f592bc626 | |||
| b6180e8d79 | |||
| de593cfcc3 | |||
| 88ea6c93ad | |||
| d53d29aed2 | |||
| d609bb4f1d | |||
| a91bb0bea6 | |||
| 35692f58d5 | |||
| dd68411eb2 | |||
| 7f9601b1f0 | |||
| 453035b698 | |||
| 00c3223eea | |||
| 39872513f0 | |||
| 1416b77c0b | |||
| 2d64367b46 | |||
| 37c9ee1a42 | |||
| 236bb2e27e | |||
| 97d307878e | |||
| 115f4f10f2 | |||
| 8edb986a54 |
@@ -30,7 +30,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: actualbudget
|
- name: actualbudget
|
||||||
image: actualbudget/actual-server:26.2.0
|
image: actualbudget/actual-server:26.6.0
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
env:
|
env:
|
||||||
- name: TZ
|
- name: TZ
|
||||||
|
|||||||
+62
-76
@@ -6,7 +6,7 @@
|
|||||||
# -slim suffix was retired after v37.440.x, so we pin the plain tag)
|
# -slim suffix was retired after v37.440.x, so we pin the plain tag)
|
||||||
#
|
#
|
||||||
# PILOT SCOPE (intentionally narrow):
|
# PILOT SCOPE (intentionally narrow):
|
||||||
# Runs weekly (Sun 04:00 Europe/Budapest) as a CronJob and opens
|
# Runs weekly (Sat 02:00 Europe/Budapest) as a CronJob and opens
|
||||||
# dependency-update PRs against admin/homelab-manifests on Gitea.
|
# dependency-update PRs against admin/homelab-manifests on Gitea.
|
||||||
# Only the `kubernetes` and `helm-values` managers are enabled, and a
|
# Only the `kubernetes` and `helm-values` managers are enabled, and a
|
||||||
# default-deny packageRule limits updates to exactly four pilot images:
|
# default-deny packageRule limits updates to exactly four pilot images:
|
||||||
@@ -44,92 +44,76 @@ data:
|
|||||||
"requireConfig": "optional",
|
"requireConfig": "optional",
|
||||||
"dependencyDashboard": true,
|
"dependencyDashboard": true,
|
||||||
"dependencyDashboardTitle": "Renovate Dependency Dashboard",
|
"dependencyDashboardTitle": "Renovate Dependency Dashboard",
|
||||||
"prHourlyLimit": 0,
|
"prHourlyLimit": 16,
|
||||||
"prConcurrentLimit": 0,
|
"prConcurrentLimit": 16,
|
||||||
"enabledManagers": ["kubernetes", "helm-values"],
|
"enabledManagers": ["kubernetes", "helm-values", "custom.regex"],
|
||||||
"kubernetes": {
|
"kubernetes": {
|
||||||
"managerFilePatterns": ["/.+\\.ya?ml$/"]
|
"managerFilePatterns": ["/.+\\.ya?ml$/"]
|
||||||
},
|
},
|
||||||
|
"customManagers": [
|
||||||
|
{
|
||||||
|
"description": "termix uses a release-X.Y.Z prefixed tag that the kubernetes manager's docker-versioning pre-check rejects (so no PRs are ever created). This customManager extracts the image directly, redirects the version lookup to GitHub Releases at Termix-SSH/Termix (which exposes timestamps the 3-day stability gate needs), and uses extractVersion to strip the `release-` prefix so loose semver can parse it.",
|
||||||
|
"customType": "regex",
|
||||||
|
"managerFilePatterns": ["/termix-system/.+\\.ya?ml$/"],
|
||||||
|
"matchStrings": [
|
||||||
|
"image:\\s+(?<depName>ghcr\\.io/lukegus/termix):(?<currentValue>release-\\d+\\.\\d+\\.\\d+)"
|
||||||
|
],
|
||||||
|
"datasourceTemplate": "github-releases",
|
||||||
|
"packageNameTemplate": "Termix-SSH/Termix",
|
||||||
|
"versioningTemplate": "loose",
|
||||||
|
"extractVersionTemplate": "^release-(?<version>.+)$"
|
||||||
|
}
|
||||||
|
],
|
||||||
"packageRules": [
|
"packageRules": [
|
||||||
{
|
{
|
||||||
"description": "Default-deny everything",
|
"description": "All apps: 3-day stability gate before any PR opens",
|
||||||
"matchPackageNames": ["*"],
|
"matchPackageNames": ["*"],
|
||||||
"enabled": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"description": "Tier 1: enable updates for low-risk leaf apps",
|
|
||||||
"matchPackageNames": [
|
|
||||||
"ghcr.io/thomiceli/opengist",
|
|
||||||
"louislam/uptime-kuma",
|
|
||||||
"f0rc3/gokapi",
|
|
||||||
"docker.io/calcom/cal.com",
|
|
||||||
"advplyr/audiobookshelf",
|
|
||||||
"arcadiatechnology/crafty-4",
|
|
||||||
"codercom/code-server",
|
|
||||||
"ghcr.io/gethomepage/homepage",
|
|
||||||
"ghcr.io/headlamp-k8s/headlamp",
|
|
||||||
"prom/node-exporter",
|
|
||||||
"rommapp/romm",
|
|
||||||
"ghcr.io/stakater/reloader",
|
|
||||||
"privatebin/nginx-fpm-alpine",
|
|
||||||
"flomp/wanderer-db",
|
|
||||||
"flomp/wanderer-web",
|
|
||||||
"registry.k8s.io/kube-state-metrics/kube-state-metrics",
|
|
||||||
"ghcr.io/lukegus/termix"
|
|
||||||
],
|
|
||||||
"enabled": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"description": "Tier 1: automerge minor/patch after 3-day stability window",
|
|
||||||
"matchPackageNames": [
|
|
||||||
"ghcr.io/thomiceli/opengist",
|
|
||||||
"louislam/uptime-kuma",
|
|
||||||
"f0rc3/gokapi",
|
|
||||||
"docker.io/calcom/cal.com",
|
|
||||||
"advplyr/audiobookshelf",
|
|
||||||
"arcadiatechnology/crafty-4",
|
|
||||||
"codercom/code-server",
|
|
||||||
"ghcr.io/gethomepage/homepage",
|
|
||||||
"ghcr.io/headlamp-k8s/headlamp",
|
|
||||||
"prom/node-exporter",
|
|
||||||
"rommapp/romm",
|
|
||||||
"ghcr.io/stakater/reloader",
|
|
||||||
"privatebin/nginx-fpm-alpine",
|
|
||||||
"flomp/wanderer-db",
|
|
||||||
"flomp/wanderer-web",
|
|
||||||
"registry.k8s.io/kube-state-metrics/kube-state-metrics",
|
|
||||||
"ghcr.io/lukegus/termix"
|
|
||||||
],
|
|
||||||
"matchUpdateTypes": ["minor", "patch"],
|
|
||||||
"automerge": true,
|
|
||||||
"automergeType": "pr",
|
|
||||||
"platformAutomerge": true,
|
|
||||||
"minimumReleaseAge": "3 days"
|
"minimumReleaseAge": "3 days"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"description": "Tier 1: major bumps require dashboard approval (no automerge)",
|
"description": "Auto-merge minor/patch after the stability window",
|
||||||
"matchPackageNames": [
|
"matchUpdateTypes": ["minor", "patch"],
|
||||||
"ghcr.io/thomiceli/opengist",
|
"automerge": true,
|
||||||
"louislam/uptime-kuma",
|
"automergeType": "pr",
|
||||||
"f0rc3/gokapi",
|
"platformAutomerge": true
|
||||||
"docker.io/calcom/cal.com",
|
},
|
||||||
"advplyr/audiobookshelf",
|
{
|
||||||
"arcadiatechnology/crafty-4",
|
"description": "Major bumps wait for dashboard approval (catches breaking/schema migrations)",
|
||||||
"codercom/code-server",
|
|
||||||
"ghcr.io/gethomepage/homepage",
|
|
||||||
"ghcr.io/headlamp-k8s/headlamp",
|
|
||||||
"prom/node-exporter",
|
|
||||||
"rommapp/romm",
|
|
||||||
"ghcr.io/stakater/reloader",
|
|
||||||
"privatebin/nginx-fpm-alpine",
|
|
||||||
"flomp/wanderer-db",
|
|
||||||
"flomp/wanderer-web",
|
|
||||||
"registry.k8s.io/kube-state-metrics/kube-state-metrics",
|
|
||||||
"ghcr.io/lukegus/termix"
|
|
||||||
],
|
|
||||||
"matchUpdateTypes": ["major"],
|
"matchUpdateTypes": ["major"],
|
||||||
"automerge": false,
|
"automerge": false,
|
||||||
"dependencyDashboardApproval": true
|
"dependencyDashboardApproval": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"description": "k3s-bundled components: never touch, they ride k3s upgrades",
|
||||||
|
"matchPackageNames": [
|
||||||
|
"rancher/local-path-provisioner",
|
||||||
|
"rancher/mirrored-coredns/coredns",
|
||||||
|
"rancher/mirrored-metrics-server"
|
||||||
|
],
|
||||||
|
"enabled": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"description": "Critical core: PR opens with changelog but Viktor merges manually (deploy pipeline + SSO + DB operator). Some entries are no-ops if the image isn't pinned in this repo (ArgoCD bootstrap, authentik outpost images inherit chart defaults).",
|
||||||
|
"matchPackageNames": [
|
||||||
|
"gitea/gitea",
|
||||||
|
"quay.io/argoproj/argocd",
|
||||||
|
"ghcr.io/goauthentik/server",
|
||||||
|
"ghcr.io/goauthentik/ldap",
|
||||||
|
"ghcr.io/goauthentik/proxy",
|
||||||
|
"ghcr.io/cloudnative-pg/cloudnative-pg"
|
||||||
|
],
|
||||||
|
"automerge": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"description": "wanderer: db + web update together in one PR",
|
||||||
|
"matchPackageNames": ["flomp/wanderer-db", "flomp/wanderer-web"],
|
||||||
|
"groupName": "wanderer"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"description": "termix: kubernetes manager would extract the image with versioning=docker and silently skip it (release-1.11.0 fails the docker pre-check). Disable that extraction; customManagers above does the real work via github-releases.",
|
||||||
|
"matchManagers": ["kubernetes"],
|
||||||
|
"matchPackageNames": ["ghcr.io/lukegus/termix"],
|
||||||
|
"enabled": false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"labels": ["renovate"]
|
"labels": ["renovate"]
|
||||||
@@ -145,7 +129,9 @@ metadata:
|
|||||||
app.kubernetes.io/name: renovate
|
app.kubernetes.io/name: renovate
|
||||||
app.kubernetes.io/version: "43.197.0"
|
app.kubernetes.io/version: "43.197.0"
|
||||||
spec:
|
spec:
|
||||||
schedule: "0 4 * * 0"
|
# Sat 02:00 Europe/Budapest — leaves the full weekend for troubleshooting
|
||||||
|
# if a Renovate-merged update breaks something.
|
||||||
|
schedule: "0 2 * * 6"
|
||||||
timeZone: "Europe/Budapest"
|
timeZone: "Europe/Budapest"
|
||||||
concurrencyPolicy: Forbid
|
concurrencyPolicy: Forbid
|
||||||
successfulJobsHistoryLimit: 3
|
successfulJobsHistoryLimit: 3
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ spec:
|
|||||||
fsGroup: 1000
|
fsGroup: 1000
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: init-config
|
- name: init-config
|
||||||
image: busybox:1.36
|
image: busybox:1.38
|
||||||
command:
|
command:
|
||||||
- sh
|
- sh
|
||||||
- -c
|
- -c
|
||||||
@@ -117,7 +117,7 @@ spec:
|
|||||||
mountPath: /romm/config
|
mountPath: /romm/config
|
||||||
containers:
|
containers:
|
||||||
- name: romm
|
- name: romm
|
||||||
image: rommapp/romm:4.6.1
|
image: rommapp/romm:4.8.1
|
||||||
env:
|
env:
|
||||||
# Database
|
# Database
|
||||||
- name: DB_HOST
|
- name: DB_HOST
|
||||||
|
|||||||
@@ -47,6 +47,8 @@ spec:
|
|||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: servarr-system
|
namespace: servarr-system
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
enabled: true
|
||||||
# Start with manual sync until you're comfortable
|
# Start with manual sync until you're comfortable
|
||||||
# automated:
|
# automated:
|
||||||
# prune: true
|
# prune: true
|
||||||
@@ -82,6 +84,8 @@ spec:
|
|||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: paperless-system
|
namespace: paperless-system
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
enabled: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
- PruneLast=true
|
- PruneLast=true
|
||||||
@@ -104,6 +108,8 @@ spec:
|
|||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: actualbudget-system
|
namespace: actualbudget-system
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
enabled: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
- PruneLast=true
|
- PruneLast=true
|
||||||
@@ -126,6 +132,8 @@ spec:
|
|||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: audiobookshelf-system
|
namespace: audiobookshelf-system
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
enabled: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
- PruneLast=true
|
- PruneLast=true
|
||||||
@@ -148,6 +156,8 @@ spec:
|
|||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: bookstack-system
|
namespace: bookstack-system
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
enabled: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
- PruneLast=true
|
- PruneLast=true
|
||||||
@@ -170,6 +180,8 @@ spec:
|
|||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: immich-system
|
namespace: immich-system
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
enabled: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
- PruneLast=true
|
- PruneLast=true
|
||||||
@@ -214,6 +226,8 @@ spec:
|
|||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: nextcloud-system
|
namespace: nextcloud-system
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
enabled: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
- PruneLast=true
|
- PruneLast=true
|
||||||
@@ -236,6 +250,8 @@ spec:
|
|||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: outline-system
|
namespace: outline-system
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
enabled: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
- PruneLast=true
|
- PruneLast=true
|
||||||
@@ -258,6 +274,8 @@ spec:
|
|||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: tandoor-system
|
namespace: tandoor-system
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
enabled: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
- PruneLast=true
|
- PruneLast=true
|
||||||
@@ -280,6 +298,8 @@ spec:
|
|||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: uptimekuma-system
|
namespace: uptimekuma-system
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
enabled: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
- PruneLast=true
|
- PruneLast=true
|
||||||
@@ -302,6 +322,8 @@ spec:
|
|||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: vaultwarden-system
|
namespace: vaultwarden-system
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
enabled: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
- PruneLast=true
|
- PruneLast=true
|
||||||
@@ -369,6 +391,8 @@ spec:
|
|||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: pihole-system
|
namespace: pihole-system
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
enabled: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
|
|
||||||
@@ -397,6 +421,8 @@ spec:
|
|||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: mediaserver-system
|
namespace: mediaserver-system
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
enabled: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
---
|
---
|
||||||
@@ -418,6 +444,8 @@ spec:
|
|||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: calibre-system
|
namespace: calibre-system
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
enabled: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
- PruneLast=true
|
- PruneLast=true
|
||||||
@@ -440,6 +468,8 @@ spec:
|
|||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: adventurelog-system
|
namespace: adventurelog-system
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
enabled: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
- PruneLast=true
|
- PruneLast=true
|
||||||
@@ -592,6 +622,8 @@ spec:
|
|||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: termix-system
|
namespace: termix-system
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
enabled: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
- PruneLast=true
|
- PruneLast=true
|
||||||
@@ -614,6 +646,8 @@ spec:
|
|||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: privatebin-system
|
namespace: privatebin-system
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
enabled: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
- PruneLast=true
|
- PruneLast=true
|
||||||
@@ -636,6 +670,8 @@ spec:
|
|||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: headlamp-system
|
namespace: headlamp-system
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
enabled: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
- PruneLast=true
|
- PruneLast=true
|
||||||
@@ -658,6 +694,8 @@ spec:
|
|||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: homepage-system
|
namespace: homepage-system
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
enabled: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
- PruneLast=true
|
- PruneLast=true
|
||||||
@@ -680,6 +718,8 @@ spec:
|
|||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: code-system
|
namespace: code-system
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
enabled: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
- PruneLast=true
|
- PruneLast=true
|
||||||
@@ -702,6 +742,8 @@ spec:
|
|||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: plantit-system
|
namespace: plantit-system
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
enabled: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
- PruneLast=true
|
- PruneLast=true
|
||||||
@@ -724,6 +766,8 @@ spec:
|
|||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: fileshare-system
|
namespace: fileshare-system
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
enabled: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
- PruneLast=true
|
- PruneLast=true
|
||||||
@@ -746,6 +790,8 @@ spec:
|
|||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: arcade-system
|
namespace: arcade-system
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
enabled: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
- PruneLast=true
|
- PruneLast=true
|
||||||
@@ -768,6 +814,8 @@ spec:
|
|||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: workout-system
|
namespace: workout-system
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
enabled: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
- PruneLast=true
|
- PruneLast=true
|
||||||
@@ -790,6 +838,8 @@ spec:
|
|||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: wanderer-system
|
namespace: wanderer-system
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
enabled: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
- PruneLast=true
|
- PruneLast=true
|
||||||
@@ -812,6 +862,8 @@ spec:
|
|||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: opengist-system
|
namespace: opengist-system
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
enabled: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
- PruneLast=true
|
- PruneLast=true
|
||||||
@@ -834,6 +886,8 @@ spec:
|
|||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: zipline-system
|
namespace: zipline-system
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
enabled: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
- PruneLast=true
|
- PruneLast=true
|
||||||
@@ -856,6 +910,8 @@ spec:
|
|||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: crafty-system
|
namespace: crafty-system
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
enabled: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
- PruneLast=true
|
- PruneLast=true
|
||||||
@@ -878,6 +934,8 @@ spec:
|
|||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: booking-system
|
namespace: booking-system
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
enabled: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
- PruneLast=true
|
- PruneLast=true
|
||||||
@@ -900,6 +958,8 @@ spec:
|
|||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: web-system
|
namespace: web-system
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
enabled: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
- PruneLast=true
|
- PruneLast=true
|
||||||
@@ -922,6 +982,8 @@ spec:
|
|||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: control-system
|
namespace: control-system
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
enabled: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
- PruneLast=true
|
- PruneLast=true
|
||||||
@@ -944,6 +1006,8 @@ spec:
|
|||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: glance-system
|
namespace: glance-system
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
enabled: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
- PruneLast=true
|
- PruneLast=true
|
||||||
@@ -967,6 +1031,10 @@ spec:
|
|||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: version-checker-system
|
namespace: version-checker-system
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
enabled: true
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
- ServerSideApply=true
|
- ServerSideApply=true
|
||||||
@@ -1033,6 +1101,8 @@ spec:
|
|||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: orsi-system
|
namespace: orsi-system
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
enabled: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
- ServerSideApply=true
|
- ServerSideApply=true
|
||||||
@@ -1075,6 +1145,8 @@ spec:
|
|||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: kisfenyo-system
|
namespace: kisfenyo-system
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
enabled: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
- ServerSideApply=true
|
- ServerSideApply=true
|
||||||
@@ -1096,6 +1168,8 @@ spec:
|
|||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: office-system
|
namespace: office-system
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
enabled: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
- ServerSideApply=true
|
- ServerSideApply=true
|
||||||
@@ -1118,6 +1192,10 @@ spec:
|
|||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: jarrs-system
|
namespace: jarrs-system
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
enabled: true
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
- PruneLast=true
|
- PruneLast=true
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: audiobookshelf
|
- name: audiobookshelf
|
||||||
image: advplyr/audiobookshelf:2.32.1
|
image: advplyr/audiobookshelf:2.35.1
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
env:
|
env:
|
||||||
- name: TZ
|
- name: TZ
|
||||||
|
|||||||
@@ -168,7 +168,7 @@ spec:
|
|||||||
initContainers:
|
initContainers:
|
||||||
# Wait for PostgreSQL
|
# Wait for PostgreSQL
|
||||||
- name: wait-for-db
|
- name: wait-for-db
|
||||||
image: busybox:1.36
|
image: busybox:1.38
|
||||||
command:
|
command:
|
||||||
- sh
|
- sh
|
||||||
- -c
|
- -c
|
||||||
@@ -181,7 +181,7 @@ spec:
|
|||||||
echo "PostgreSQL is ready!"
|
echo "PostgreSQL is ready!"
|
||||||
# Wait for Redis
|
# Wait for Redis
|
||||||
- name: wait-for-redis
|
- name: wait-for-redis
|
||||||
image: busybox:1.36
|
image: busybox:1.38
|
||||||
command:
|
command:
|
||||||
- sh
|
- sh
|
||||||
- -c
|
- -c
|
||||||
|
|||||||
@@ -175,7 +175,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: bookstack
|
- name: bookstack
|
||||||
image: linuxserver/bookstack:25.12.3
|
image: linuxserver/bookstack:25.12.20251224
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
env:
|
env:
|
||||||
# LinuxServer.io specific
|
# LinuxServer.io specific
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ spec:
|
|||||||
fsGroup: 1000
|
fsGroup: 1000
|
||||||
containers:
|
containers:
|
||||||
- name: code-server
|
- name: code-server
|
||||||
image: codercom/code-server:4.108.2
|
image: codercom/code-server:4.121.0
|
||||||
args:
|
args:
|
||||||
- --bind-addr=0.0.0.0:8080
|
- --bind-addr=0.0.0.0:8080
|
||||||
- --auth=none
|
- --auth=none
|
||||||
|
|||||||
@@ -223,7 +223,7 @@ spec:
|
|||||||
fsGroup: 0
|
fsGroup: 0
|
||||||
containers:
|
containers:
|
||||||
- name: craftycontroller
|
- name: craftycontroller
|
||||||
image: arcadiatechnology/crafty-4:4.9.0
|
image: arcadiatechnology/crafty-4:4.10.4
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsNonRoot: true
|
runAsNonRoot: true
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: init-directories
|
- name: init-directories
|
||||||
image: busybox:1.36
|
image: busybox:1.38
|
||||||
command:
|
command:
|
||||||
- sh
|
- sh
|
||||||
- -c
|
- -c
|
||||||
@@ -218,6 +218,7 @@ metadata:
|
|||||||
if ($remote_addr ~ "^10\.") { set $geo_allowed 1; }
|
if ($remote_addr ~ "^10\.") { set $geo_allowed 1; }
|
||||||
if ($geoip2_country_code = "HU") { set $geo_allowed 1; }
|
if ($geoip2_country_code = "HU") { set $geo_allowed 1; }
|
||||||
if ($geoip2_country_code = "DE") { set $geo_allowed 1; }
|
if ($geoip2_country_code = "DE") { set $geo_allowed 1; }
|
||||||
|
if ($geoip2_country_code = "US") { set $geo_allowed 1; }
|
||||||
if ($geo_allowed = 0) {
|
if ($geo_allowed = 0) {
|
||||||
return 403 "Access restricted to Hungary";
|
return 403 "Access restricted to Hungary";
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2787,7 +2787,7 @@ spec:
|
|||||||
mountPath: /app/assets
|
mountPath: /app/assets
|
||||||
containers:
|
containers:
|
||||||
- name: glance
|
- name: glance
|
||||||
image: glanceapp/glance:v0.8.4
|
image: glanceapp/glance:v0.8.5
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
env:
|
env:
|
||||||
- name: TZ
|
- name: TZ
|
||||||
|
|||||||
@@ -1413,7 +1413,7 @@ spec:
|
|||||||
mountPath: /app/assets
|
mountPath: /app/assets
|
||||||
containers:
|
containers:
|
||||||
- name: glance
|
- name: glance
|
||||||
image: glanceapp/glance:v0.8.4
|
image: glanceapp/glance:v0.8.5
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
env:
|
env:
|
||||||
- name: TZ
|
- name: TZ
|
||||||
|
|||||||
@@ -416,7 +416,7 @@ spec:
|
|||||||
value: http://immich-machine-learning:3003
|
value: http://immich-machine-learning:3003
|
||||||
- name: REDIS_HOSTNAME
|
- name: REDIS_HOSTNAME
|
||||||
value: immich-valkey
|
value: immich-valkey
|
||||||
image: docker.io/valkey/valkey:9.0-alpine@sha256:b4ee67d73e00393e712accc72cfd7003b87d0fcd63f0eba798b23251bfc9c394
|
image: docker.io/valkey/valkey:9.0-alpine@sha256:d1cc70645bbcef743615463a2fa4616e841407545e18f560aed0c49671a90147
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
exec:
|
exec:
|
||||||
|
|||||||
@@ -282,7 +282,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: wait-for-db
|
- name: wait-for-db
|
||||||
image: busybox:1.36
|
image: busybox:1.38
|
||||||
command:
|
command:
|
||||||
- sh
|
- sh
|
||||||
- -c
|
- -c
|
||||||
@@ -294,7 +294,7 @@ spec:
|
|||||||
done
|
done
|
||||||
echo "PostgreSQL is ready!"
|
echo "PostgreSQL is ready!"
|
||||||
- name: wait-for-redis
|
- name: wait-for-redis
|
||||||
image: busybox:1.36
|
image: busybox:1.38
|
||||||
command:
|
command:
|
||||||
- sh
|
- sh
|
||||||
- -c
|
- -c
|
||||||
@@ -532,7 +532,7 @@ spec:
|
|||||||
number: 3000
|
number: 3000
|
||||||
tls:
|
tls:
|
||||||
- hosts:
|
- hosts:
|
||||||
- dev-local.jarrs.eu
|
- dev.jarrs.eu
|
||||||
secretName: dev-jarr-tls
|
secretName: dev-jarr-tls
|
||||||
---
|
---
|
||||||
# =============================================================================
|
# =============================================================================
|
||||||
@@ -584,7 +584,7 @@ spec:
|
|||||||
initContainers:
|
initContainers:
|
||||||
# 1. Wait for PostgreSQL to accept connections
|
# 1. Wait for PostgreSQL to accept connections
|
||||||
- name: wait-for-db
|
- name: wait-for-db
|
||||||
image: busybox:1.36
|
image: busybox:1.38
|
||||||
command:
|
command:
|
||||||
- sh
|
- sh
|
||||||
- -c
|
- -c
|
||||||
@@ -597,7 +597,7 @@ spec:
|
|||||||
echo "PostgreSQL is ready!"
|
echo "PostgreSQL is ready!"
|
||||||
# 2. Wait for Redis to accept connections
|
# 2. Wait for Redis to accept connections
|
||||||
- name: wait-for-redis
|
- name: wait-for-redis
|
||||||
image: busybox:1.36
|
image: busybox:1.38
|
||||||
command:
|
command:
|
||||||
- sh
|
- sh
|
||||||
- -c
|
- -c
|
||||||
@@ -612,7 +612,7 @@ spec:
|
|||||||
# Prevents the worker from picking up stale queued jobs
|
# Prevents the worker from picking up stale queued jobs
|
||||||
# before schema migrations have been applied.
|
# before schema migrations have been applied.
|
||||||
- name: wait-for-api
|
- name: wait-for-api
|
||||||
image: busybox:1.36
|
image: busybox:1.38
|
||||||
command:
|
command:
|
||||||
- sh
|
- sh
|
||||||
- -c
|
- -c
|
||||||
|
|||||||
@@ -730,7 +730,7 @@ spec:
|
|||||||
hostPID: true
|
hostPID: true
|
||||||
containers:
|
containers:
|
||||||
- name: node-exporter
|
- name: node-exporter
|
||||||
image: prom/node-exporter:v1.10.2
|
image: prom/node-exporter:v1.11.1
|
||||||
args:
|
args:
|
||||||
- "--path.procfs=/host/proc"
|
- "--path.procfs=/host/proc"
|
||||||
- "--path.sysfs=/host/sys"
|
- "--path.sysfs=/host/sys"
|
||||||
|
|||||||
@@ -395,7 +395,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: nextcloud
|
- name: nextcloud
|
||||||
image: docker.io/library/nextcloud:32.0.2-apache
|
image: docker.io/library/nextcloud:32.0.10-apache
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
env:
|
env:
|
||||||
- name: SMTP_HOST
|
- name: SMTP_HOST
|
||||||
|
|||||||
@@ -0,0 +1,135 @@
|
|||||||
|
# BentoPDF - Privacy-focused PDF toolkit (all processing client-side, files never leave the server)
|
||||||
|
# https://www.bentopdf.com - image: ghcr.io/alam00000/bentopdf
|
||||||
|
# Domain: pdf.dooplex.hu
|
||||||
|
# Version: 2.8.5
|
||||||
|
# Database: None | Storage: None (stateless)
|
||||||
|
---
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: bentopdf
|
||||||
|
namespace: office-system
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: bentopdf
|
||||||
|
app.kubernetes.io/instance: bentopdf
|
||||||
|
app.kubernetes.io/version: "2.8.5"
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app.kubernetes.io/name: bentopdf
|
||||||
|
app.kubernetes.io/instance: bentopdf
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: bentopdf
|
||||||
|
app.kubernetes.io/instance: bentopdf
|
||||||
|
app.kubernetes.io/version: "2.8.5"
|
||||||
|
annotations:
|
||||||
|
match-regex.version-checker.io/bentopdf: '^v\d+\.\d+\.\d+$'
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: bentopdf
|
||||||
|
image: ghcr.io/alam00000/bentopdf:v2.8.5
|
||||||
|
imagePullPolicy: IfNotPresent
|
||||||
|
env:
|
||||||
|
- name: TZ
|
||||||
|
value: "Europe/Budapest"
|
||||||
|
ports:
|
||||||
|
- name: http
|
||||||
|
containerPort: 8080
|
||||||
|
protocol: TCP
|
||||||
|
livenessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /
|
||||||
|
port: http
|
||||||
|
initialDelaySeconds: 15
|
||||||
|
periodSeconds: 30
|
||||||
|
timeoutSeconds: 5
|
||||||
|
failureThreshold: 3
|
||||||
|
readinessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /
|
||||||
|
port: http
|
||||||
|
initialDelaySeconds: 5
|
||||||
|
periodSeconds: 10
|
||||||
|
timeoutSeconds: 3
|
||||||
|
failureThreshold: 3
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: 50m
|
||||||
|
memory: 128Mi
|
||||||
|
limits:
|
||||||
|
cpu: 500m
|
||||||
|
memory: 384Mi
|
||||||
|
restartPolicy: Always
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: bentopdf
|
||||||
|
namespace: office-system
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: bentopdf
|
||||||
|
app.kubernetes.io/instance: bentopdf
|
||||||
|
spec:
|
||||||
|
type: ClusterIP
|
||||||
|
ports:
|
||||||
|
- name: http
|
||||||
|
port: 8080
|
||||||
|
targetPort: http
|
||||||
|
protocol: TCP
|
||||||
|
selector:
|
||||||
|
app.kubernetes.io/name: bentopdf
|
||||||
|
app.kubernetes.io/instance: bentopdf
|
||||||
|
---
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: bentopdf
|
||||||
|
namespace: office-system
|
||||||
|
annotations:
|
||||||
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||||
|
external-dns.alpha.kubernetes.io/hostname: pdf.dooplex.hu,pdf.home
|
||||||
|
nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
||||||
|
nginx.ingress.kubernetes.io/proxy-body-size: "100m"
|
||||||
|
nginx.ingress.kubernetes.io/configuration-snippet: |
|
||||||
|
set $geo_allowed 0;
|
||||||
|
if ($remote_addr ~ "^192\.168\.") { set $geo_allowed 1; }
|
||||||
|
if ($remote_addr ~ "^10\.") { set $geo_allowed 1; }
|
||||||
|
if ($geoip2_country_code = "HU") { set $geo_allowed 1; }
|
||||||
|
if ($geo_allowed = 0) {
|
||||||
|
return 403 "Access restricted to Hungary";
|
||||||
|
}
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: bentopdf
|
||||||
|
app.kubernetes.io/instance: bentopdf
|
||||||
|
spec:
|
||||||
|
ingressClassName: nginx-internal
|
||||||
|
tls:
|
||||||
|
- hosts:
|
||||||
|
- pdf.dooplex.hu
|
||||||
|
secretName: bentopdf-tls
|
||||||
|
rules:
|
||||||
|
- host: pdf.dooplex.hu
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: bentopdf
|
||||||
|
port:
|
||||||
|
number: 8080
|
||||||
|
- host: pdf.home
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: bentopdf
|
||||||
|
port:
|
||||||
|
number: 8080
|
||||||
@@ -169,7 +169,7 @@ spec:
|
|||||||
fsGroup: 82
|
fsGroup: 82
|
||||||
containers:
|
containers:
|
||||||
- name: privatebin
|
- name: privatebin
|
||||||
image: privatebin/nginx-fpm-alpine:2.0.3
|
image: privatebin/nginx-fpm-alpine:2.0.4
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
|
|||||||
@@ -41,6 +41,10 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: termix
|
- name: termix
|
||||||
|
# NOTE: termix uses a non-semver tag pattern (release-X.Y.Z).
|
||||||
|
# Renovate handles it via a customManagers regex defined in
|
||||||
|
# admin-system/renovate.yaml (the kubernetes manager doesn't
|
||||||
|
# process inline `# renovate:` comments).
|
||||||
image: ghcr.io/lukegus/termix:release-1.11.0
|
image: ghcr.io/lukegus/termix:release-1.11.0
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
@@ -122,7 +122,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: pocketbase
|
- name: pocketbase
|
||||||
image: flomp/wanderer-db:v0.18.4
|
image: flomp/wanderer-db:v0.19.2
|
||||||
env:
|
env:
|
||||||
- name: ORIGIN
|
- name: ORIGIN
|
||||||
value: "https://wanderer.dooplex.hu"
|
value: "https://wanderer.dooplex.hu"
|
||||||
@@ -192,7 +192,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: wanderer-web
|
- name: wanderer-web
|
||||||
image: flomp/wanderer-web:v0.18.4
|
image: flomp/wanderer-web:v0.19.2
|
||||||
env:
|
env:
|
||||||
- name: NODE_TLS_REJECT_UNAUTHORIZED
|
- name: NODE_TLS_REJECT_UNAUTHORIZED
|
||||||
value: "0"
|
value: "0"
|
||||||
|
|||||||
+1
-1
@@ -315,7 +315,7 @@ spec:
|
|||||||
initContainers:
|
initContainers:
|
||||||
# Create public directory if it doesn't exist
|
# Create public directory if it doesn't exist
|
||||||
- name: init-public-dir
|
- name: init-public-dir
|
||||||
image: busybox:1.36
|
image: busybox:1.38
|
||||||
command: ["sh", "-c", "mkdir -p /srv/public && chmod 755 /srv/public"]
|
command: ["sh", "-c", "mkdir -p /srv/public && chmod 755 /srv/public"]
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: data
|
- name: data
|
||||||
|
|||||||
@@ -34,6 +34,14 @@
|
|||||||
# table ownership, and installs uuid-ossp/pgcrypto/pg_stat_statements on its
|
# table ownership, and installs uuid-ossp/pgcrypto/pg_stat_statements on its
|
||||||
# own — no init SQL or shared_preload_libraries tinkering needed.
|
# own — no init SQL or shared_preload_libraries tinkering needed.
|
||||||
# ----------------------------------------------------------------------------
|
# ----------------------------------------------------------------------------
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: workout-system
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: sparkyfitness
|
||||||
|
---
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
@@ -145,7 +153,7 @@ spec:
|
|||||||
fsGroup: 1000
|
fsGroup: 1000
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: wait-for-db
|
- name: wait-for-db
|
||||||
image: busybox:1.36
|
image: busybox:1.38
|
||||||
command:
|
command:
|
||||||
- sh
|
- sh
|
||||||
- -c
|
- -c
|
||||||
|
|||||||
@@ -1,556 +0,0 @@
|
|||||||
# ============================================================================
|
|
||||||
# *** PARKED 2026-05-27 *** — wger has been REPLACED by SparkyFitness.
|
|
||||||
# SparkyFitness now owns workout.dooplex.hu / workout.home (see sparkyfitness.yaml).
|
|
||||||
# All wger Deployments are scaled to 0 and both wger Ingresses were removed
|
|
||||||
# (ArgoCD prune deletes them, freeing the hostnames). The wger Services,
|
|
||||||
# ConfigMap, PVCs (wger-media / wger-static) and the wger DB in the shared CNPG
|
|
||||||
# cluster are KEPT, untouched, for rollback.
|
|
||||||
# To revive wger: restore the two Ingress resources from git history and scale
|
|
||||||
# the wger / wger-redis / wger-celery-* Deployments back to 1.
|
|
||||||
# ============================================================================
|
|
||||||
# wger - Workout Manager
|
|
||||||
# https://github.com/wger-project/wger
|
|
||||||
# Version: 2.5 (official image, no custom fork)
|
|
||||||
# Domain: workout.dooplex.hu
|
|
||||||
# Auth: Authentik Forward Auth (domain mode) + native wger AUTH_PROXY middleware
|
|
||||||
#
|
|
||||||
# ============================================================================
|
|
||||||
# MIGRATION NOTES (from 2.3 + custom OIDC fork):
|
|
||||||
# - Image switched from ghcr.io/kisfenyo/wger-oidc:latest -> wger/server:2.5
|
|
||||||
# - All OIDC_* / ENABLE_OIDC env vars removed
|
|
||||||
# - Native AUTH_PROXY_* env vars added (wger 2.4+ feature, PR #1859)
|
|
||||||
# - Ingress split into two resources:
|
|
||||||
# * wger -> path / -> protected by Authentik forward-auth
|
|
||||||
# * wger-api -> path /api/ -> unprotected (JWT auth for mobile app)
|
|
||||||
# - nginx sidecar: strips client-supplied X-Authentik-* on /api/ (defense in depth)
|
|
||||||
# - Authentik: create a new Proxy Provider (Forward auth, single application)
|
|
||||||
# External Host: https://workout.dooplex.hu
|
|
||||||
# Attach to existing outpost. The old OIDC provider can be deleted.
|
|
||||||
#
|
|
||||||
# POST-UPGRADE COMMANDS (run once after rollout stabilises):
|
|
||||||
# kubectl exec -n workout-system deploy/wger -c wger -- \
|
|
||||||
# python manage.py recalculate_statistics --all --active-only
|
|
||||||
# kubectl exec -n workout-system deploy/wger -c wger -- \
|
|
||||||
# python manage.py evaluate_trophies --all
|
|
||||||
# ============================================================================
|
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Namespace
|
|
||||||
metadata:
|
|
||||||
name: workout-system
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: wger
|
|
||||||
---
|
|
||||||
apiVersion: apps/v1
|
|
||||||
kind: Deployment
|
|
||||||
metadata:
|
|
||||||
name: wger-redis
|
|
||||||
namespace: workout-system
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/instance: wger
|
|
||||||
app.kubernetes.io/name: wger-redis
|
|
||||||
spec:
|
|
||||||
replicas: 0 # parked 2026-05-27 (replaced by SparkyFitness)
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
app.kubernetes.io/instance: wger
|
|
||||||
app.kubernetes.io/name: wger-redis
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/instance: wger
|
|
||||||
app.kubernetes.io/name: wger-redis
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- name: redis
|
|
||||||
image: redis:7.2-alpine
|
|
||||||
ports:
|
|
||||||
- containerPort: 6379
|
|
||||||
name: redis
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
cpu: 50m
|
|
||||||
memory: 64Mi
|
|
||||||
limits:
|
|
||||||
cpu: 200m
|
|
||||||
memory: 128Mi
|
|
||||||
---
|
|
||||||
apiVersion: apps/v1
|
|
||||||
kind: Deployment
|
|
||||||
metadata:
|
|
||||||
name: wger
|
|
||||||
namespace: workout-system
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/instance: wger
|
|
||||||
app.kubernetes.io/name: wger
|
|
||||||
annotations:
|
|
||||||
# Track upstream wger releases
|
|
||||||
extensions.v1alpha1.version-checker.io/wger: "true"
|
|
||||||
extensions.v1alpha1.version-checker.io/wger.match-regex: "^\\d+\\.\\d+$"
|
|
||||||
spec:
|
|
||||||
replicas: 0 # parked 2026-05-27 (replaced by SparkyFitness)
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
app.kubernetes.io/instance: wger
|
|
||||||
app.kubernetes.io/name: wger
|
|
||||||
strategy:
|
|
||||||
type: Recreate
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/instance: wger
|
|
||||||
app.kubernetes.io/name: wger
|
|
||||||
spec:
|
|
||||||
# Prevent k8s from injecting WGER_PORT / WGER_SERVICE_* env vars
|
|
||||||
# from the wger Service — they collide with wger's own $WGER_PORT
|
|
||||||
# config and break the startup script (URI instead of port number).
|
|
||||||
enableServiceLinks: false
|
|
||||||
securityContext:
|
|
||||||
fsGroup: 1000
|
|
||||||
containers:
|
|
||||||
- name: nginx
|
|
||||||
image: nginx:alpine
|
|
||||||
ports:
|
|
||||||
- containerPort: 80
|
|
||||||
name: http
|
|
||||||
volumeMounts:
|
|
||||||
- name: static
|
|
||||||
mountPath: /home/wger/static
|
|
||||||
readOnly: true
|
|
||||||
- name: media
|
|
||||||
mountPath: /home/wger/media
|
|
||||||
readOnly: true
|
|
||||||
- name: nginx-config
|
|
||||||
mountPath: /etc/nginx/conf.d/default.conf
|
|
||||||
subPath: nginx.conf
|
|
||||||
- name: wger
|
|
||||||
image: wger/server:2.5
|
|
||||||
imagePullPolicy: IfNotPresent
|
|
||||||
env:
|
|
||||||
# Django settings
|
|
||||||
- name: SECRET_KEY
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: wger-app
|
|
||||||
key: secret-key
|
|
||||||
- name: SIGNING_KEY
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: wger-app
|
|
||||||
key: signing-key
|
|
||||||
- name: DJANGO_DEBUG
|
|
||||||
value: "False"
|
|
||||||
- name: WGER_INSTANCE
|
|
||||||
value: "https://workout.dooplex.hu"
|
|
||||||
- name: TIME_ZONE
|
|
||||||
value: "Europe/Budapest"
|
|
||||||
- name: DJANGO_CACHE_TIMEOUT
|
|
||||||
value: "120"
|
|
||||||
- name: CSRF_TRUSTED_ORIGINS
|
|
||||||
value: "https://workout.dooplex.hu"
|
|
||||||
# Database (shared CNPG)
|
|
||||||
- name: DJANGO_DB_ENGINE
|
|
||||||
value: "django.db.backends.postgresql"
|
|
||||||
- name: DJANGO_DB_HOST
|
|
||||||
value: "postgresql-rw.database-system.svc.cluster.local"
|
|
||||||
- name: DJANGO_DB_PORT
|
|
||||||
value: "5432"
|
|
||||||
- name: DJANGO_DB_DATABASE
|
|
||||||
value: "wger"
|
|
||||||
- name: DJANGO_DB_USER
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: wger-db
|
|
||||||
key: username
|
|
||||||
- name: DJANGO_DB_PASSWORD
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: wger-db
|
|
||||||
key: password
|
|
||||||
# Cache
|
|
||||||
- name: DJANGO_CACHE_BACKEND
|
|
||||||
value: "django_redis.cache.RedisCache"
|
|
||||||
- name: DJANGO_CACHE_LOCATION
|
|
||||||
value: "redis://wger-redis:6379/1"
|
|
||||||
- name: DJANGO_CACHE_CLIENT_CLASS
|
|
||||||
value: "django_redis.client.DefaultClient"
|
|
||||||
# Celery
|
|
||||||
- name: CELERY_BROKER
|
|
||||||
value: "redis://wger-redis:6379/2"
|
|
||||||
- name: CELERY_BACKEND
|
|
||||||
value: "redis://wger-redis:6379/2"
|
|
||||||
# ----------------------------------------------------------------
|
|
||||||
# Native Authentication Proxy (wger 2.4+) - replaces OIDC fork
|
|
||||||
# ----------------------------------------------------------------
|
|
||||||
- name: AUTH_PROXY_ENABLED
|
|
||||||
value: "True"
|
|
||||||
# Django META key format: HTTP_ + uppercase header with - replaced by _
|
|
||||||
# So X-Authentik-Username => HTTP_X_AUTHENTIK_USERNAME
|
|
||||||
- name: AUTH_PROXY_HEADER
|
|
||||||
value: "HTTP_X_AUTHENTIK_USERNAME"
|
|
||||||
- name: AUTH_PROXY_CREATE_UNKNOWN_USER
|
|
||||||
value: "True"
|
|
||||||
- name: AUTH_PROXY_EMAIL_HEADER
|
|
||||||
value: "HTTP_X_AUTHENTIK_EMAIL"
|
|
||||||
- name: AUTH_PROXY_NAME_HEADER
|
|
||||||
value: "HTTP_X_AUTHENTIK_NAME"
|
|
||||||
# Only trust the auth header when coming from the nginx sidecar
|
|
||||||
# (same pod, proxies from 127.0.0.1 to Django on :8000).
|
|
||||||
# This prevents header-spoofing attacks from anywhere else.
|
|
||||||
- name: AUTH_PROXY_TRUSTED_IPS
|
|
||||||
value: "127.0.0.1/32"
|
|
||||||
# Email (disabled - no email sending)
|
|
||||||
- name: ENABLE_EMAIL
|
|
||||||
value: "False"
|
|
||||||
# Media settings
|
|
||||||
- name: DJANGO_MEDIA_ROOT
|
|
||||||
value: "/home/wger/media"
|
|
||||||
- name: DJANGO_STATIC_ROOT
|
|
||||||
value: "/home/wger/static"
|
|
||||||
# Features
|
|
||||||
- name: ALLOW_REGISTRATION
|
|
||||||
value: "False"
|
|
||||||
- name: ALLOW_GUEST_USERS
|
|
||||||
value: "False"
|
|
||||||
- name: ALLOW_UPLOAD_VIDEOS
|
|
||||||
value: "True"
|
|
||||||
- name: USE_RECAPTCHA
|
|
||||||
value: "False"
|
|
||||||
- name: DOWNLOAD_EXERCISE_IMAGES_ON_STARTUP
|
|
||||||
value: "True"
|
|
||||||
ports:
|
|
||||||
- containerPort: 8000
|
|
||||||
name: http
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
cpu: 100m
|
|
||||||
memory: 256Mi
|
|
||||||
limits:
|
|
||||||
cpu: 1000m
|
|
||||||
memory: 1Gi
|
|
||||||
volumeMounts:
|
|
||||||
- name: media
|
|
||||||
mountPath: /home/wger/media
|
|
||||||
- name: static
|
|
||||||
mountPath: /home/wger/static
|
|
||||||
livenessProbe:
|
|
||||||
httpGet:
|
|
||||||
path: /
|
|
||||||
port: http
|
|
||||||
initialDelaySeconds: 120
|
|
||||||
periodSeconds: 30
|
|
||||||
readinessProbe:
|
|
||||||
httpGet:
|
|
||||||
path: /
|
|
||||||
port: http
|
|
||||||
initialDelaySeconds: 60
|
|
||||||
periodSeconds: 10
|
|
||||||
volumes:
|
|
||||||
- name: nginx-config
|
|
||||||
configMap:
|
|
||||||
name: wger-nginx-config
|
|
||||||
- name: media
|
|
||||||
persistentVolumeClaim:
|
|
||||||
claimName: wger-media
|
|
||||||
- name: static
|
|
||||||
persistentVolumeClaim:
|
|
||||||
claimName: wger-static
|
|
||||||
---
|
|
||||||
# Celery worker for background tasks
|
|
||||||
apiVersion: apps/v1
|
|
||||||
kind: Deployment
|
|
||||||
metadata:
|
|
||||||
name: wger-celery-worker
|
|
||||||
namespace: workout-system
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/instance: wger
|
|
||||||
app.kubernetes.io/name: wger-celery-worker
|
|
||||||
spec:
|
|
||||||
replicas: 0 # parked 2026-05-27 (replaced by SparkyFitness)
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
app.kubernetes.io/instance: wger
|
|
||||||
app.kubernetes.io/name: wger-celery-worker
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/instance: wger
|
|
||||||
app.kubernetes.io/name: wger-celery-worker
|
|
||||||
spec:
|
|
||||||
enableServiceLinks: false
|
|
||||||
securityContext:
|
|
||||||
fsGroup: 1000
|
|
||||||
containers:
|
|
||||||
- name: celery-worker
|
|
||||||
image: wger/server:2.5
|
|
||||||
imagePullPolicy: IfNotPresent
|
|
||||||
command: ["/start-worker"]
|
|
||||||
env:
|
|
||||||
- name: SECRET_KEY
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: wger-app
|
|
||||||
key: secret-key
|
|
||||||
- name: SIGNING_KEY
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: wger-app
|
|
||||||
key: signing-key
|
|
||||||
- name: TIME_ZONE
|
|
||||||
value: "Europe/Budapest"
|
|
||||||
- name: DJANGO_DB_ENGINE
|
|
||||||
value: "django.db.backends.postgresql"
|
|
||||||
- name: DJANGO_DB_HOST
|
|
||||||
value: "postgresql-rw.database-system.svc.cluster.local"
|
|
||||||
- name: DJANGO_DB_PORT
|
|
||||||
value: "5432"
|
|
||||||
- name: DJANGO_DB_DATABASE
|
|
||||||
value: "wger"
|
|
||||||
- name: DJANGO_DB_USER
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: wger-db
|
|
||||||
key: username
|
|
||||||
- name: DJANGO_DB_PASSWORD
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: wger-db
|
|
||||||
key: password
|
|
||||||
- name: DJANGO_CACHE_TIMEOUT
|
|
||||||
value: "120"
|
|
||||||
- name: DJANGO_CACHE_CLIENT_CLASS
|
|
||||||
value: "django_redis.client.DefaultClient"
|
|
||||||
- name: CELERY_BROKER
|
|
||||||
value: "redis://wger-redis:6379/2"
|
|
||||||
- name: CELERY_BACKEND
|
|
||||||
value: "redis://wger-redis:6379/2"
|
|
||||||
- name: DJANGO_CACHE_BACKEND
|
|
||||||
value: "django_redis.cache.RedisCache"
|
|
||||||
- name: DJANGO_CACHE_LOCATION
|
|
||||||
value: "redis://wger-redis:6379/1"
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
cpu: 50m
|
|
||||||
memory: 128Mi
|
|
||||||
limits:
|
|
||||||
cpu: 500m
|
|
||||||
memory: 512Mi
|
|
||||||
---
|
|
||||||
# Celery beat for scheduled tasks
|
|
||||||
apiVersion: apps/v1
|
|
||||||
kind: Deployment
|
|
||||||
metadata:
|
|
||||||
name: wger-celery-beat
|
|
||||||
namespace: workout-system
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/instance: wger
|
|
||||||
app.kubernetes.io/name: wger-celery-beat
|
|
||||||
spec:
|
|
||||||
replicas: 0 # parked 2026-05-27 (replaced by SparkyFitness)
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
app.kubernetes.io/instance: wger
|
|
||||||
app.kubernetes.io/name: wger-celery-beat
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/instance: wger
|
|
||||||
app.kubernetes.io/name: wger-celery-beat
|
|
||||||
spec:
|
|
||||||
enableServiceLinks: false
|
|
||||||
securityContext:
|
|
||||||
fsGroup: 1000
|
|
||||||
containers:
|
|
||||||
- name: celery-beat
|
|
||||||
image: wger/server:2.5
|
|
||||||
imagePullPolicy: IfNotPresent
|
|
||||||
command: ["/start-beat"]
|
|
||||||
env:
|
|
||||||
- name: SECRET_KEY
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: wger-app
|
|
||||||
key: secret-key
|
|
||||||
- name: SIGNING_KEY
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: wger-app
|
|
||||||
key: signing-key
|
|
||||||
- name: TIME_ZONE
|
|
||||||
value: "Europe/Budapest"
|
|
||||||
- name: DJANGO_CACHE_TIMEOUT
|
|
||||||
value: "120"
|
|
||||||
- name: DJANGO_CACHE_CLIENT_CLASS
|
|
||||||
value: "django_redis.client.DefaultClient"
|
|
||||||
- name: DJANGO_DB_ENGINE
|
|
||||||
value: "django.db.backends.postgresql"
|
|
||||||
- name: DJANGO_DB_HOST
|
|
||||||
value: "postgresql-rw.database-system.svc.cluster.local"
|
|
||||||
- name: DJANGO_DB_PORT
|
|
||||||
value: "5432"
|
|
||||||
- name: DJANGO_DB_DATABASE
|
|
||||||
value: "wger"
|
|
||||||
- name: DJANGO_DB_USER
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: wger-db
|
|
||||||
key: username
|
|
||||||
- name: DJANGO_DB_PASSWORD
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: wger-db
|
|
||||||
key: password
|
|
||||||
- name: CELERY_BROKER
|
|
||||||
value: "redis://wger-redis:6379/2"
|
|
||||||
- name: CELERY_BACKEND
|
|
||||||
value: "redis://wger-redis:6379/2"
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
cpu: 50m
|
|
||||||
memory: 64Mi
|
|
||||||
limits:
|
|
||||||
cpu: 200m
|
|
||||||
memory: 256Mi
|
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
|
||||||
name: wger-redis
|
|
||||||
namespace: workout-system
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/instance: wger
|
|
||||||
app.kubernetes.io/name: wger-redis
|
|
||||||
spec:
|
|
||||||
type: ClusterIP
|
|
||||||
ports:
|
|
||||||
- name: redis
|
|
||||||
port: 6379
|
|
||||||
targetPort: redis
|
|
||||||
selector:
|
|
||||||
app.kubernetes.io/instance: wger
|
|
||||||
app.kubernetes.io/name: wger-redis
|
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
|
||||||
name: wger
|
|
||||||
namespace: workout-system
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/instance: wger
|
|
||||||
app.kubernetes.io/name: wger
|
|
||||||
spec:
|
|
||||||
type: ClusterIP
|
|
||||||
ports:
|
|
||||||
- name: http
|
|
||||||
port: 80
|
|
||||||
targetPort: 80
|
|
||||||
selector:
|
|
||||||
app.kubernetes.io/instance: wger
|
|
||||||
app.kubernetes.io/name: wger
|
|
||||||
---
|
|
||||||
# ============================================================================
|
|
||||||
# wger Ingresses (wger + wger-api) REMOVED 2026-05-27 — see PARKED note at top.
|
|
||||||
# SparkyFitness's ingress (sparkyfitness.yaml) now serves workout.dooplex.hu /
|
|
||||||
# workout.home. ArgoCD prune deletes the old Ingress objects from the cluster,
|
|
||||||
# releasing the hostnames + the wger-tls certificate's hosts.
|
|
||||||
# To revive wger: restore these two Ingress resources from git history.
|
|
||||||
# ============================================================================
|
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: PersistentVolumeClaim
|
|
||||||
metadata:
|
|
||||||
name: wger-media
|
|
||||||
namespace: workout-system
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/instance: wger
|
|
||||||
app.kubernetes.io/name: wger-media
|
|
||||||
recurring-job-group.longhorn.io/needbackup: enabled
|
|
||||||
recurring-job.longhorn.io/source: enabled
|
|
||||||
spec:
|
|
||||||
accessModes:
|
|
||||||
- ReadWriteOnce
|
|
||||||
storageClassName: longhorn
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
storage: 5Gi
|
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: PersistentVolumeClaim
|
|
||||||
metadata:
|
|
||||||
name: wger-static
|
|
||||||
namespace: workout-system
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/instance: wger
|
|
||||||
app.kubernetes.io/name: wger-static
|
|
||||||
spec:
|
|
||||||
accessModes:
|
|
||||||
- ReadWriteOnce
|
|
||||||
storageClassName: longhorn
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
storage: 2Gi
|
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: ConfigMap
|
|
||||||
metadata:
|
|
||||||
name: wger-nginx-config
|
|
||||||
namespace: workout-system
|
|
||||||
data:
|
|
||||||
nginx.conf: |
|
|
||||||
server {
|
|
||||||
listen 80;
|
|
||||||
server_name _;
|
|
||||||
client_max_body_size 4G;
|
|
||||||
|
|
||||||
# Official Wger Logic
|
|
||||||
root /var/www/html/; # This is just a dummy root, aliases do the work
|
|
||||||
|
|
||||||
location /static/ {
|
|
||||||
alias /home/wger/static/;
|
|
||||||
expires 30d;
|
|
||||||
access_log off;
|
|
||||||
}
|
|
||||||
|
|
||||||
location /media/ {
|
|
||||||
alias /home/wger/media/;
|
|
||||||
expires 30d;
|
|
||||||
access_log off;
|
|
||||||
}
|
|
||||||
|
|
||||||
# API path: strip any client-supplied auth headers before proxying.
|
|
||||||
# Mobile app + API clients authenticate via JWT (/api/v2/token), not
|
|
||||||
# proxy auth. This is a defense-in-depth measure so that even if traffic
|
|
||||||
# somehow reaches this sidecar without going through the forward-auth
|
|
||||||
# ingress, it cannot forge an AUTH_PROXY login via a spoofed header.
|
|
||||||
# Nginx treats "" as "do not forward this header."
|
|
||||||
location /api/ {
|
|
||||||
proxy_pass http://localhost:8000;
|
|
||||||
proxy_set_header Host $http_host;
|
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
||||||
proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto;
|
|
||||||
proxy_set_header X-Authentik-Username "";
|
|
||||||
proxy_set_header X-Authentik-Email "";
|
|
||||||
proxy_set_header X-Authentik-Name "";
|
|
||||||
proxy_set_header X-Authentik-Groups "";
|
|
||||||
proxy_set_header X-Authentik-Uid "";
|
|
||||||
}
|
|
||||||
|
|
||||||
# Everything else: pass through the auth headers set by the
|
|
||||||
# forward-auth ingress so wger's AUTH_PROXY middleware can log the
|
|
||||||
# user in. $http_x_authentik_username expands to empty if the header
|
|
||||||
# isn't present (e.g. Tailscale admin access bypassing the ingress).
|
|
||||||
location / {
|
|
||||||
proxy_pass http://localhost:8000;
|
|
||||||
proxy_set_header Host $http_host;
|
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
||||||
proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto;
|
|
||||||
proxy_set_header X-Authentik-Username $http_x_authentik_username;
|
|
||||||
proxy_set_header X-Authentik-Email $http_x_authentik_email;
|
|
||||||
proxy_set_header X-Authentik-Name $http_x_authentik_name;
|
|
||||||
proxy_set_header X-Authentik-Groups $http_x_authentik_groups;
|
|
||||||
proxy_set_header X-Authentik-Uid $http_x_authentik_uid;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
---
|
|
||||||
Reference in New Issue
Block a user