From d2ca582ed776612849e3ef4470e3037336ebb9c7 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Mon, 6 Apr 2026 18:36:04 -0500 Subject: [PATCH] feat: refactor apps --- clusters/cl01tl/helm/shelly-plug/Chart.yaml | 4 +++- .../shelly-plug/templates/external-secret.yaml | 6 ------ clusters/cl01tl/helm/shelly-plug/values.yaml | 17 ++++------------- .../cl01tl/helm/site-documentation/Chart.yaml | 12 ++++++------ .../cl01tl/helm/site-documentation/values.yaml | 7 ++----- clusters/cl01tl/helm/site-profile/Chart.yaml | 12 ++++++------ clusters/cl01tl/helm/site-profile/values.yaml | 7 ++----- 7 files changed, 23 insertions(+), 42 deletions(-) diff --git a/clusters/cl01tl/helm/shelly-plug/Chart.yaml b/clusters/cl01tl/helm/shelly-plug/Chart.yaml index a054b13be..10fb15b60 100644 --- a/clusters/cl01tl/helm/shelly-plug/Chart.yaml +++ b/clusters/cl01tl/helm/shelly-plug/Chart.yaml @@ -5,9 +5,10 @@ description: Shelly Plug keywords: - shelly-plug - metrics -home: https://wiki.alexlebens.dev/s/18b5575c-3a57-4515-89a0-b23d6df8dec4 +home: https://docs.alexlebens.dev/applications/shelly-plug/ sources: - https://github.com/geerlingguy/shelly-plug-prometheus + - https://hub.docker.com/r/alpine/git - https://hub.docker.com/_/php - https://github.com/bjw-s/helm-charts/blob/main/charts/other/app-template/values.yaml maintainers: @@ -17,4 +18,5 @@ dependencies: alias: shelly-plug repository: https://bjw-s-labs.github.io/helm-charts/ version: 4.6.2 +icon: https://cdn.jsdelivr.net/gh/selfhst/icons@main/png/shelly.png appVersion: 1.0.0 diff --git a/clusters/cl01tl/helm/shelly-plug/templates/external-secret.yaml b/clusters/cl01tl/helm/shelly-plug/templates/external-secret.yaml index 5fb51c129..cf2d8bcc1 100644 --- a/clusters/cl01tl/helm/shelly-plug/templates/external-secret.yaml +++ b/clusters/cl01tl/helm/shelly-plug/templates/external-secret.yaml @@ -14,15 +14,9 @@ spec: data: - secretKey: SHELLY_HTTP_USERNAME remoteRef: - conversionStrategy: Default - decodingStrategy: None key: /shelly-plug/auth/it05sp - metadataPolicy: None property: SHELLY_HTTP_USERNAME - secretKey: SHELLY_HTTP_PASSWORD remoteRef: - conversionStrategy: Default - decodingStrategy: None key: /shelly-plug/auth/it05sp - metadataPolicy: None property: SHELLY_HTTP_PASSWORD diff --git a/clusters/cl01tl/helm/shelly-plug/values.yaml b/clusters/cl01tl/helm/shelly-plug/values.yaml index 8f28dc2df..b8b5347e4 100644 --- a/clusters/cl01tl/helm/shelly-plug/values.yaml +++ b/clusters/cl01tl/helm/shelly-plug/values.yaml @@ -4,15 +4,13 @@ shelly-plug: type: deployment replicas: 1 strategy: Recreate - revisionHistoryLimit: 3 initContainers: init-fetch-repo: securityContext: runAsUser: 0 image: repository: alpine/git - tag: latest - pullPolicy: IfNotPresent + tag: 2.52.0@sha256:d453f54c83320412aa89c391b076930bd8569bc1012285e8c68ce2d4435826a3 command: - /bin/sh - -ec @@ -28,16 +26,11 @@ shelly-plug: git fetch origin git checkout origin/master -ft fi - resources: - requests: - cpu: 10m - memory: 128Mi containers: main: image: repository: php - tag: 8.5.4-apache-bookworm - pullPolicy: IfNotPresent + tag: 8.5.4-apache@sha256:e55a9f8e4caa09c6a31ec752b307675d847bb8546d975f379128cb2a99842b96 env: - name: SHELLY_HOSTNAME value: it05sp.alexlebens.net @@ -48,8 +41,8 @@ shelly-plug: name: shelly-plug-config-secret resources: requests: - cpu: 10m - memory: 64Mi + cpu: 1m + memory: 20Mi service: main: controller: main @@ -57,7 +50,6 @@ shelly-plug: metrics: port: 80 targetPort: 80 - protocol: TCP serviceMonitor: main: selector: @@ -75,7 +67,6 @@ shelly-plug: storageClass: ceph-block accessMode: ReadWriteOnce size: 1Gi - retain: true advancedMounts: main: init-fetch-repo: diff --git a/clusters/cl01tl/helm/site-documentation/Chart.yaml b/clusters/cl01tl/helm/site-documentation/Chart.yaml index b133e26c7..0b768825c 100644 --- a/clusters/cl01tl/helm/site-documentation/Chart.yaml +++ b/clusters/cl01tl/helm/site-documentation/Chart.yaml @@ -5,12 +5,11 @@ description: Site Documentation keywords: - site-documentation - astro -home: https://wiki.alexlebens.dev/s/1c39adb6-e0c6-4b01-b71f-278631adf584 +home: https://docs.alexlebens.dev/applications/site-documentation/ sources: - - https://github.com/alexlebens/site-documentation + - https://gitea.alexlebens.dev/alexlebens/site-documentation - https://github.com/withastro/astro - - https://github.com/cloudflare/cloudflared - - https://github.com/alexlebens/site-documentation/pkgs/container/site-documentation + - https://harbor.alexlebens.net/harbor/projects/11/repositories/site-documentation - https://github.com/bjw-s-labs/helm-charts/tree/main/charts/other/app-template - https://gitea.alexlebens.dev/alexlebens/helm-charts/src/branch/main/charts/cloudflared maintainers: @@ -23,5 +22,6 @@ dependencies: - name: cloudflared repository: oci://harbor.alexlebens.net/helm-charts version: 2.4.0 -icon: https://d21zlbwtcn424f.cloudfront.net/logo-new-round.png -appVersion: 0.0.5 +icon: https://web-assets-3bfcb5585cbd63dc365d32a3.nyc3.cdn.digitaloceanspaces.com/alexlebens-net/logo-new-round.svg +# renovate: datasource=gitea-releases registryUrl=https://gitea.alexlebens.dev depName=alexlebens/site-documentation +appVersion: 0.20.0 diff --git a/clusters/cl01tl/helm/site-documentation/values.yaml b/clusters/cl01tl/helm/site-documentation/values.yaml index 8201fa8b4..a5e2d7fd0 100644 --- a/clusters/cl01tl/helm/site-documentation/values.yaml +++ b/clusters/cl01tl/helm/site-documentation/values.yaml @@ -6,17 +6,15 @@ site-documentation: type: deployment replicas: 3 strategy: RollingUpdate - revisionHistoryLimit: 3 containers: main: image: repository: harbor.alexlebens.net/images/site-documentation - tag: 0.20.0 - pullPolicy: IfNotPresent + tag: 0.20.0@sha256:4e6965cab1d472250c59d52a28ba97e62c0e28f6a79c45daca4e0cb193488ccc resources: requests: cpu: 10m - memory: 128Mi + memory: 40Mi service: main: controller: main @@ -24,4 +22,3 @@ site-documentation: http: port: 80 targetPort: 4321 - protocol: HTTP diff --git a/clusters/cl01tl/helm/site-profile/Chart.yaml b/clusters/cl01tl/helm/site-profile/Chart.yaml index 77c971879..e2335cd66 100644 --- a/clusters/cl01tl/helm/site-profile/Chart.yaml +++ b/clusters/cl01tl/helm/site-profile/Chart.yaml @@ -5,12 +5,11 @@ description: Site Profile keywords: - site-profile - astro -home: https://wiki.alexlebens.dev/s/1c39adb6-e0c6-4b01-b71f-278631adf584 +home: https://docs.alexlebens.dev/applications/site-profile/ sources: - - https://github.com/alexlebens/site-profile + - https://gitea.alexlebens.dev/alexlebens/site-profile - https://github.com/withastro/astro - - https://github.com/cloudflare/cloudflared - - https://github.com/alexlebens/site-profile/pkgs/container/site-profile + - https://harbor.alexlebens.net/harbor/projects/11/repositories/site-profile - https://github.com/bjw-s-labs/helm-charts/tree/main/charts/other/app-template - https://gitea.alexlebens.dev/alexlebens/helm-charts/src/branch/main/charts/cloudflared maintainers: @@ -23,5 +22,6 @@ dependencies: - name: cloudflared repository: oci://harbor.alexlebens.net/helm-charts version: 2.4.0 -icon: https://d21zlbwtcn424f.cloudfront.net/logo-new-round.png -appVersion: 2.3.2 +icon: https://web-assets-3bfcb5585cbd63dc365d32a3.nyc3.cdn.digitaloceanspaces.com/alexlebens-net/logo-new-round.svg +# renovate: datasource=gitea-releases registryUrl=https://gitea.alexlebens.dev depName=alexlebens/site-profile +appVersion: 3.16.1 diff --git a/clusters/cl01tl/helm/site-profile/values.yaml b/clusters/cl01tl/helm/site-profile/values.yaml index 2462313f4..eef6f8f6c 100644 --- a/clusters/cl01tl/helm/site-profile/values.yaml +++ b/clusters/cl01tl/helm/site-profile/values.yaml @@ -6,17 +6,15 @@ site-profile: type: deployment replicas: 3 strategy: RollingUpdate - revisionHistoryLimit: 3 containers: main: image: repository: harbor.alexlebens.net/images/site-profile - tag: 3.16.1 - pullPolicy: IfNotPresent + tag: 3.16.1@sha256:656182fade379a0e8f1e6780c36bb64fe1374afbc8f06894126043105f66d29a resources: requests: cpu: 10m - memory: 128Mi + memory: 60Mi service: main: controller: main @@ -24,4 +22,3 @@ site-profile: http: port: 80 targetPort: 4321 - protocol: HTTP