feat: refactor apps #5627

Merged
alexlebens merged 1 commits from tmp/refactor-35 into main 2026-04-06 23:39:44 +00:00
7 changed files with 23 additions and 42 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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:

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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