⬆️ Update app-template ( 2.6.0 → 3.0.4 )

This commit is contained in:
auricom
2024-03-26 01:12:59 +01:00
parent f9f972852e
commit d1f9f7ba78
11 changed files with 127 additions and 109 deletions

View File

@@ -1,15 +1,15 @@
--- ---
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/helm.toolkit.fluxcd.io/helmrelease_v2beta2.json # yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2beta2.schema.json
apiVersion: helm.toolkit.fluxcd.io/v2beta2 apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease kind: HelmRelease
metadata: metadata:
name: atuin name: &app atuin
spec: spec:
interval: 30m interval: 30m
chart: chart:
spec: spec:
chart: app-template chart: app-template
version: 2.6.0 version: 3.0.4
sourceRef: sourceRef:
kind: HelmRepository kind: HelmRepository
name: bjw-s name: bjw-s
@@ -20,12 +20,13 @@ spec:
upgrade: upgrade:
cleanupOnFail: true cleanupOnFail: true
remediation: remediation:
strategy: rollback
retries: 3 retries: 3
uninstall: uninstall:
keepHistory: false keepHistory: false
values: values:
controllers: controllers:
main: atuin:
replicas: 2 replicas: 2
strategy: RollingUpdate strategy: RollingUpdate
annotations: annotations:
@@ -39,7 +40,7 @@ spec:
- secretRef: - secretRef:
name: atuin-secret name: atuin-secret
containers: containers:
main: app:
image: image:
repository: ghcr.io/atuinsh/atuin repository: ghcr.io/atuinsh/atuin
tag: v18.1.0@sha256:c1245d9bbaf9ef1610a973750003d634d55e52ffb3e14caa9bb47c867e1f6c6e tag: v18.1.0@sha256:c1245d9bbaf9ef1610a973750003d634d55e52ffb3e14caa9bb47c867e1f6c6e
@@ -52,11 +53,11 @@ spec:
ATUIN_METRICS__PORT: &metricsPort 8080 ATUIN_METRICS__PORT: &metricsPort 8080
ATUIN_TLS__ENABLE: "false" ATUIN_TLS__ENABLE: "false"
envFrom: *envFrom envFrom: *envFrom
args: ["server", "start"] args: [server, start]
securityContext: securityContext:
allowPrivilegeEscalation: false allowPrivilegeEscalation: false
readOnlyRootFilesystem: true readOnlyRootFilesystem: true
capabilities: { drop: ["ALL"] } capabilities: { drop: [ALL] }
resources: resources:
requests: requests:
cpu: 10m cpu: 10m
@@ -70,14 +71,16 @@ spec:
fsGroup: 568 fsGroup: 568
fsGroupChangePolicy: OnRootMismatch fsGroupChangePolicy: OnRootMismatch
service: service:
main: app:
controller: *app
ports: ports:
http: http:
port: *port port: *port
metrics: metrics:
port: *metricsPort port: *metricsPort
serviceMonitor: serviceMonitor:
main: app:
serviceName: *app
enabled: true enabled: true
endpoints: endpoints:
- port: metrics - port: metrics
@@ -88,7 +91,7 @@ spec:
ingress: ingress:
main: main:
enabled: true enabled: true
className: "nginx" className: nginx
annotations: annotations:
hajimari.io/icon: mdi:powershell hajimari.io/icon: mdi:powershell
hosts: hosts:
@@ -96,7 +99,7 @@ spec:
paths: paths:
- path: / - path: /
service: service:
name: main identifier: app
port: http port: http
tls: tls:
- hosts: - hosts:

View File

@@ -1,5 +1,5 @@
--- ---
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/helm.toolkit.fluxcd.io/helmrelease_v2beta2.json # yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2beta2.schema.json
apiVersion: helm.toolkit.fluxcd.io/v2beta2 apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease kind: HelmRelease
metadata: metadata:
@@ -10,7 +10,7 @@ spec:
chart: chart:
spec: spec:
chart: app-template chart: app-template
version: 2.6.0 version: 3.0.4
sourceRef: sourceRef:
kind: HelmRepository kind: HelmRepository
name: bjw-s name: bjw-s
@@ -23,6 +23,7 @@ spec:
upgrade: upgrade:
cleanupOnFail: true cleanupOnFail: true
remediation: remediation:
strategy: rollback
retries: 3 retries: 3
uninstall: uninstall:
keepHistory: false keepHistory: false
@@ -45,14 +46,13 @@ spec:
matchLabels: matchLabels:
app.kubernetes.io/name: *app app.kubernetes.io/name: *app
controllers: controllers:
main: authelia:
replicas: 2 replicas: 2
strategy: RollingUpdate strategy: RollingUpdate
annotations: annotations:
reloader.stakater.com/auto: "true" reloader.stakater.com/auto: "true"
initContainers: initContainers:
init-db: init-db:
order: 1
image: image:
repository: ghcr.io/onedr0p/postgres-init repository: ghcr.io/onedr0p/postgres-init
tag: 16 tag: 16
@@ -60,7 +60,7 @@ spec:
- secretRef: - secretRef:
name: authelia-secret name: authelia-secret
containers: containers:
main: app:
image: image:
repository: ghcr.io/authelia/authelia repository: ghcr.io/authelia/authelia
tag: v4.38.0-beta3@sha256:b48ae4d0ed9d1eee76efe382df60928bae550ec19e5663858dde6dc5f41cf285 tag: v4.38.0-beta3@sha256:b48ae4d0ed9d1eee76efe382df60928bae550ec19e5663858dde6dc5f41cf285
@@ -101,7 +101,7 @@ spec:
AUTHELIA_TOTP_ISSUER: authelia.com AUTHELIA_TOTP_ISSUER: authelia.com
AUTHELIA_WEBAUTHN_DISABLE: "true" AUTHELIA_WEBAUTHN_DISABLE: "true"
envFrom: *envFrom envFrom: *envFrom
args: ["--config", "/config/configuration.yaml", "--config.experimental.filters", "expand-env"] args: [--config, /config/configuration.yaml, --config.experimental.filters, expand-env]
probes: probes:
liveness: &probes liveness: &probes
enabled: true enabled: true
@@ -124,14 +124,16 @@ spec:
limits: limits:
memory: 128Mi memory: 128Mi
service: service:
main: app:
controller: *app
ports: ports:
http: http:
port: *port port: *port
metrics: metrics:
port: 8080 port: 8080
serviceMonitor: serviceMonitor:
main: app:
serviceName: *app
enabled: true enabled: true
endpoints: endpoints:
- port: metrics - port: metrics
@@ -157,7 +159,7 @@ spec:
paths: paths:
- path: / - path: /
service: service:
name: main identifier: app
port: http port: http
tls: tls:
- hosts: - hosts:

View File

@@ -1,5 +1,5 @@
--- ---
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/helm.toolkit.fluxcd.io/helmrelease_v2beta2.json # yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2beta2.schema.json
apiVersion: helm.toolkit.fluxcd.io/v2beta2 apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease kind: HelmRelease
metadata: metadata:
@@ -10,7 +10,7 @@ spec:
chart: chart:
spec: spec:
chart: app-template chart: app-template
version: 2.6.0 version: 3.0.4
sourceRef: sourceRef:
kind: HelmRepository kind: HelmRepository
name: bjw-s name: bjw-s
@@ -23,17 +23,17 @@ spec:
upgrade: upgrade:
cleanupOnFail: true cleanupOnFail: true
remediation: remediation:
strategy: rollback
retries: 3 retries: 3
uninstall: uninstall:
keepHistory: false keepHistory: false
values: values:
controllers: controllers:
main: babybuddy:
annotations: annotations:
reloader.stakater.com/auto: "true" reloader.stakater.com/auto: "true"
initContainers: initContainers:
init-db: init-db:
order: 1
image: image:
repository: ghcr.io/onedr0p/postgres-init repository: ghcr.io/onedr0p/postgres-init
tag: 16 tag: 16
@@ -41,15 +41,14 @@ spec:
- secretRef: - secretRef:
name: babybuddy-secret name: babybuddy-secret
migrations: migrations:
order: 2
image: image:
repository: ghcr.io/auricom/babybuddy repository: ghcr.io/auricom/babybuddy
tag: 2.2.1@sha256:e7bbb30bff8c1023c566ad58455cffcb5cca91f2d9479040c3e5a90c27656bfd tag: 2.2.1@sha256:e7bbb30bff8c1023c566ad58455cffcb5cca91f2d9479040c3e5a90c27656bfd
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
envFrom: *envFrom envFrom: *envFrom
command: command:
- "/bin/bash" - /bin/bash
- "-c" - -c
- | - |
#!/bin/bash #!/bin/bash
@@ -60,7 +59,7 @@ spec:
python3 ./manage.py migrate --noinput python3 ./manage.py migrate --noinput
python3 ./manage.py createcachetable python3 ./manage.py createcachetable
containers: containers:
main: app:
image: image:
repository: ghcr.io/auricom/babybuddy repository: ghcr.io/auricom/babybuddy
tag: 2.2.1@sha256:e7bbb30bff8c1023c566ad58455cffcb5cca91f2d9479040c3e5a90c27656bfd tag: 2.2.1@sha256:e7bbb30bff8c1023c566ad58455cffcb5cca91f2d9479040c3e5a90c27656bfd
@@ -75,14 +74,15 @@ spec:
cpu: 100m cpu: 100m
memory: 256Mi memory: 256Mi
service: service:
main: app:
controller: *app
ports: ports:
http: http:
port: 3000 port: 3000
ingress: ingress:
main: main:
enabled: true enabled: true
className: "nginx" className: nginx
annotations: annotations:
hajimari.io/icon: mdi:baby-face-outline hajimari.io/icon: mdi:baby-face-outline
hosts: hosts:
@@ -91,7 +91,8 @@ spec:
- path: / - path: /
pathType: Prefix pathType: Prefix
service: service:
name: main identifier: app
port: http
tls: tls:
- hosts: - hosts:
- *host - *host

View File

@@ -1,5 +1,5 @@
--- ---
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/helm.toolkit.fluxcd.io/helmrelease_v2beta2.json # yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2beta2.schema.json
apiVersion: helm.toolkit.fluxcd.io/v2beta2 apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease kind: HelmRelease
metadata: metadata:
@@ -10,7 +10,7 @@ spec:
chart: chart:
spec: spec:
chart: app-template chart: app-template
version: 2.6.0 version: 3.0.4
sourceRef: sourceRef:
kind: HelmRepository kind: HelmRepository
name: bjw-s name: bjw-s
@@ -23,6 +23,7 @@ spec:
upgrade: upgrade:
cleanupOnFail: true cleanupOnFail: true
remediation: remediation:
strategy: rollback
retries: 3 retries: 3
uninstall: uninstall:
keepHistory: false keepHistory: false
@@ -39,12 +40,11 @@ spec:
fsGroup: 568 fsGroup: 568
fsGroupChangePolicy: OnRootMismatch fsGroupChangePolicy: OnRootMismatch
controllers: controllers:
main: bazarr:
annotations: annotations:
reloader.stakater.com/auto: "true" reloader.stakater.com/auto: "true"
initContainers: initContainers:
init-db: init-db:
order: 1
image: image:
repository: ghcr.io/onedr0p/postgres-init repository: ghcr.io/onedr0p/postgres-init
tag: 16 tag: 16
@@ -52,7 +52,7 @@ spec:
- secretRef: - secretRef:
name: bazarr-secret name: bazarr-secret
containers: containers:
main: app:
image: image:
repository: ghcr.io/onedr0p/bazarr repository: ghcr.io/onedr0p/bazarr
tag: 1.4.2@sha256:113035f37f289f190781d9d728f2ebf56c895b972921820f5d30408427c837d9 tag: 1.4.2@sha256:113035f37f289f190781d9d728f2ebf56c895b972921820f5d30408427c837d9
@@ -76,14 +76,15 @@ spec:
- --wait=86400 # 1 day - --wait=86400 # 1 day
- --root=/add-ons - --root=/add-ons
service: service:
main: app:
controller: *app
ports: ports:
http: http:
port: 6767 port: 6767
ingress: ingress:
main: main:
enabled: true enabled: true
className: "nginx" className: nginx
annotations: annotations:
nginx.ingress.kubernetes.io/auth-method: GET nginx.ingress.kubernetes.io/auth-method: GET
nginx.ingress.kubernetes.io/auth-url: http://authelia.default.svc.cluster.local.:8888/api/verify nginx.ingress.kubernetes.io/auth-url: http://authelia.default.svc.cluster.local.:8888/api/verify
@@ -96,7 +97,7 @@ spec:
paths: paths:
- path: / - path: /
service: service:
name: main identifier: app
port: http port: http
tls: tls:
- hosts: - hosts:
@@ -115,7 +116,7 @@ spec:
video: video:
enabled: true enabled: true
type: nfs type: nfs
server: "192.168.9.10" server: ${LOCAL_LAN_TRUENAS}
path: /mnt/storage/video path: /mnt/storage/video
globalMounts: globalMounts:
- path: /mnt/storage/video - path: /mnt/storage/video
@@ -124,6 +125,5 @@ spec:
type: configMap type: configMap
name: bazarr-scripts # overriden by kustomizeconfig name: bazarr-scripts # overriden by kustomizeconfig
defaultMode: 0775 defaultMode: 0775
readOnly: true
globalMounts: globalMounts:
- path: /scripts - path: /scripts

View File

@@ -1,5 +1,5 @@
--- ---
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/helm.toolkit.fluxcd.io/helmrelease_v2beta2.json # yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2beta2.schema.json
apiVersion: helm.toolkit.fluxcd.io/v2beta2 apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease kind: HelmRelease
metadata: metadata:
@@ -10,7 +10,7 @@ spec:
chart: chart:
spec: spec:
chart: app-template chart: app-template
version: 2.6.0 version: 3.0.4
sourceRef: sourceRef:
kind: HelmRepository kind: HelmRepository
name: bjw-s name: bjw-s
@@ -23,14 +23,15 @@ spec:
upgrade: upgrade:
cleanupOnFail: true cleanupOnFail: true
remediation: remediation:
strategy: rollback
retries: 3 retries: 3
uninstall: uninstall:
keepHistory: false keepHistory: false
values: values:
controllers: controllers:
main: calibre:
containers: containers:
main: app:
image: image:
repository: ghcr.io/linuxserver/calibre repository: ghcr.io/linuxserver/calibre
tag: version-v7.7.0@sha256:c97ee9212dbf30f3ced25eae5fea63d92890134695c5da977b7f19b377b64043 tag: version-v7.7.0@sha256:c97ee9212dbf30f3ced25eae5fea63d92890134695c5da977b7f19b377b64043
@@ -45,14 +46,15 @@ spec:
limits: limits:
memory: 604M memory: 604M
service: service:
main: app:
controller: *app
ports: ports:
http: http:
port: 8080 port: 8080
ingress: ingress:
main: main:
enabled: true enabled: true
className: "nginx" className: nginx
annotations: annotations:
nginx.ingress.kubernetes.io/auth-method: GET nginx.ingress.kubernetes.io/auth-method: GET
nginx.ingress.kubernetes.io/auth-url: http://authelia.default.svc.cluster.local.:8888/api/verify nginx.ingress.kubernetes.io/auth-url: http://authelia.default.svc.cluster.local.:8888/api/verify
@@ -65,7 +67,7 @@ spec:
paths: paths:
- path: / - path: /
service: service:
name: main identifier: app
port: http port: http
tls: tls:
- hosts: - hosts:
@@ -79,7 +81,7 @@ spec:
books: books:
enabled: true enabled: true
type: nfs type: nfs
server: "192.168.9.10" server: ${LOCAL_LAN_TRUENAS}
path: /mnt/storage/home/claude/books path: /mnt/storage/home/claude/books
globalMounts: globalMounts:
- path: /mnt/storage/home/claude/books - path: /mnt/storage/home/claude/books

View File

@@ -1,5 +1,5 @@
--- ---
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/helm.toolkit.fluxcd.io/helmrelease_v2beta2.json # yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2beta2.schema.json
apiVersion: helm.toolkit.fluxcd.io/v2beta2 apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease kind: HelmRelease
metadata: metadata:
@@ -10,7 +10,7 @@ spec:
chart: chart:
spec: spec:
chart: app-template chart: app-template
version: 2.6.0 version: 3.0.4
sourceRef: sourceRef:
kind: HelmRepository kind: HelmRepository
name: bjw-s name: bjw-s
@@ -23,6 +23,7 @@ spec:
upgrade: upgrade:
cleanupOnFail: true cleanupOnFail: true
remediation: remediation:
strategy: rollback
retries: 3 retries: 3
uninstall: uninstall:
keepHistory: false keepHistory: false
@@ -32,20 +33,20 @@ spec:
runAsUser: 1001 runAsUser: 1001
runAsGroup: 1001 runAsGroup: 1001
fsGroup: 1001 fsGroup: 1001
fsGroupChangePolicy: "OnRootMismatch" fsGroupChangePolicy: OnRootMismatch
controllers: controllers:
main: flood:
annotations: annotations:
reloader.stakater.com/auto: "true" reloader.stakater.com/auto: "true"
containers: containers:
main: app:
image: image:
repository: jesec/flood repository: jesec/flood
tag: master@sha256:67203d2838eed158b469ed2a66edfe28df90eb530e2649852d575aedf00c7821 tag: master@sha256:67203d2838eed158b469ed2a66edfe28df90eb530e2649852d575aedf00c7821
env: env:
FLOOD_OPTION_RUNDIR: /data FLOOD_OPTION_RUNDIR: /data
FLOOD_OPTION_AUTH: "none" FLOOD_OPTION_AUTH: none
FLOOD_OPTION_QBURL: "http://qbittorrent.default.svc.cluster.local.:8080" FLOOD_OPTION_QBURL: http://qbittorrent.default.svc.cluster.local.:8080
envFrom: envFrom:
- secretRef: - secretRef:
name: flood-secret name: flood-secret
@@ -56,14 +57,15 @@ spec:
limits: limits:
memory: 512Mi memory: 512Mi
service: service:
main: app:
controller: *app
ports: ports:
http: http:
port: 3000 port: 3000
ingress: ingress:
main: app:
enabled: true enabled: true
className: "nginx" className: nginx
annotations: annotations:
nginx.ingress.kubernetes.io/auth-method: GET nginx.ingress.kubernetes.io/auth-method: GET
nginx.ingress.kubernetes.io/auth-url: http://authelia.default.svc.cluster.local.:8888/api/verify nginx.ingress.kubernetes.io/auth-url: http://authelia.default.svc.cluster.local.:8888/api/verify
@@ -76,7 +78,7 @@ spec:
paths: paths:
- path: / - path: /
service: service:
name: main identifier: app
port: http port: http
tls: tls:
- hosts: - hosts:

View File

@@ -1,5 +1,5 @@
--- ---
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/helm.toolkit.fluxcd.io/helmrelease_v2beta2.json # yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2beta2.schema.json
apiVersion: helm.toolkit.fluxcd.io/v2beta2 apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease kind: HelmRelease
metadata: metadata:
@@ -10,7 +10,7 @@ spec:
chart: chart:
spec: spec:
chart: app-template chart: app-template
version: 2.6.0 version: 3.0.4
sourceRef: sourceRef:
kind: HelmRepository kind: HelmRepository
name: bjw-s name: bjw-s
@@ -23,17 +23,17 @@ spec:
upgrade: upgrade:
cleanupOnFail: true cleanupOnFail: true
remediation: remediation:
strategy: rollback
retries: 3 retries: 3
uninstall: uninstall:
keepHistory: false keepHistory: false
values: values:
controllers: controllers:
main: freshrss:
annotations: annotations:
reloader.stakater.com/auto: "true" reloader.stakater.com/auto: "true"
initContainers: initContainers:
init-db: init-db:
order: 1
image: image:
repository: ghcr.io/onedr0p/postgres-init repository: ghcr.io/onedr0p/postgres-init
tag: 16 tag: 16
@@ -41,27 +41,28 @@ spec:
- secretRef: - secretRef:
name: freshrss-secret name: freshrss-secret
containers: containers:
main: app:
image: image:
repository: freshrss/freshrss repository: freshrss/freshrss
tag: 1.23.1@sha256:c554223f485843553f7b7c9faff1f5c6c6113ce15b0288dd07210e97d8bbbbcc tag: 1.23.1@sha256:c554223f485843553f7b7c9faff1f5c6c6113ce15b0288dd07210e97d8bbbbcc
env: env:
TZ: ${TIMEZONE} TZ: ${TIMEZONE}
CRON_MIN: "18,48" CRON_MIN: 18,48
DOMAIN: "https://freshrss.${SECRET_CLUSTER_DOMAIN}/" DOMAIN: "https://freshrss.${SECRET_CLUSTER_DOMAIN}/"
resources: resources:
requests: requests:
cpu: 50m cpu: 50m
memory: 256Mi memory: 256Mi
service: service:
main: app:
controller: *app
ports: ports:
http: http:
port: 80 port: 80
ingress: ingress:
main: app:
enabled: true enabled: true
className: "nginx" className: nginx
annotations: annotations:
hajimari.io/icon: mdi:rss hajimari.io/icon: mdi:rss
hosts: hosts:
@@ -69,7 +70,7 @@ spec:
paths: paths:
- path: / - path: /
service: service:
name: main identifier: app
port: http port: http
tls: tls:
- hosts: - hosts:

View File

@@ -1,5 +1,5 @@
--- ---
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/helm.toolkit.fluxcd.io/helmrelease_v2beta2.json # yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2beta2.schema.json
apiVersion: helm.toolkit.fluxcd.io/v2beta2 apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease kind: HelmRelease
metadata: metadata:
@@ -10,7 +10,7 @@ spec:
chart: chart:
spec: spec:
chart: app-template chart: app-template
version: 2.6.0 version: 3.0.4
sourceRef: sourceRef:
kind: HelmRepository kind: HelmRepository
name: bjw-s name: bjw-s
@@ -22,6 +22,7 @@ spec:
upgrade: upgrade:
cleanupOnFail: true cleanupOnFail: true
remediation: remediation:
strategy: rollback
retries: 3 retries: 3
uninstall: uninstall:
keepHistory: false keepHistory: false
@@ -40,11 +41,11 @@ spec:
google.feature.node.kubernetes.io/coral: "true" google.feature.node.kubernetes.io/coral: "true"
intel.feature.node.kubernetes.io/gpu: "true" intel.feature.node.kubernetes.io/gpu: "true"
controllers: controllers:
main: frigate:
annotations: annotations:
reloader.stakater.com/auto: "true" reloader.stakater.com/auto: "true"
containers: containers:
main: app:
image: image:
repository: ghcr.io/blakeblackshear/frigate repository: ghcr.io/blakeblackshear/frigate
tag: 0.13.2@sha256:2906991ccad85035b176941f9dedfd35088ff710c39d45ef1baa9a49f2b16734 tag: 0.13.2@sha256:2906991ccad85035b176941f9dedfd35088ff710c39d45ef1baa9a49f2b16734
@@ -80,7 +81,8 @@ spec:
securityContext: securityContext:
privileged: true privileged: true
service: service:
main: app:
controller: *app
type: LoadBalancer type: LoadBalancer
externalTrafficPolicy: Local externalTrafficPolicy: Local
loadBalancerIP: ${CLUSTER_LB_FRIGATE} loadBalancerIP: ${CLUSTER_LB_FRIGATE}
@@ -91,7 +93,7 @@ spec:
enabled: true enabled: true
port: 8554 port: 8554
ingress: ingress:
main: app:
enabled: true enabled: true
annotations: annotations:
nginx.ingress.kubernetes.io/auth-method: GET nginx.ingress.kubernetes.io/auth-method: GET
@@ -106,7 +108,7 @@ spec:
paths: paths:
- path: / - path: /
service: service:
name: main identifier: app
port: http port: http
tls: tls:
- hosts: - hosts:
@@ -120,14 +122,13 @@ spec:
config-file: config-file:
type: configMap type: configMap
name: frigate-configmap name: frigate-configmap
readOnly: true
globalMounts: globalMounts:
- path: /config/config.yml - path: /config/config.yml
subPath: config.yml subPath: config.yml
readOnly: true readOnly: true
media: media:
type: nfs type: nfs
server: "192.168.9.10" server: ${LOCAL_LAN_TRUENAS}
path: /mnt/storage/apps/frigate path: /mnt/storage/apps/frigate
globalMounts: globalMounts:
- path: /media/frigate - path: /media/frigate
@@ -142,6 +143,6 @@ spec:
hostPath: /dev/bus/usb hostPath: /dev/bus/usb
hostPathType: Directory hostPathType: Directory
advancedMounts: advancedMounts:
main: frigate:
main: app:
- path: /dev/bus/usb - path: /dev/bus/usb

View File

@@ -1,5 +1,5 @@
--- ---
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/helm.toolkit.fluxcd.io/helmrelease_v2beta2.json # yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2beta2.schema.json
apiVersion: helm.toolkit.fluxcd.io/v2beta2 apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease kind: HelmRelease
metadata: metadata:
@@ -10,7 +10,7 @@ spec:
chart: chart:
spec: spec:
chart: app-template chart: app-template
version: 2.6.0 version: 3.0.4
sourceRef: sourceRef:
kind: HelmRepository kind: HelmRepository
name: bjw-s name: bjw-s
@@ -23,6 +23,7 @@ spec:
upgrade: upgrade:
cleanupOnFail: true cleanupOnFail: true
remediation: remediation:
strategy: rollback
retries: 3 retries: 3
uninstall: uninstall:
keepHistory: false keepHistory: false
@@ -31,7 +32,7 @@ spec:
namespace: database namespace: database
values: values:
controllers: controllers:
main: ghostfolio:
strategy: RollingUpdate strategy: RollingUpdate
annotations: annotations:
reloader.stakater.com/auto: "true" reloader.stakater.com/auto: "true"
@@ -44,7 +45,7 @@ spec:
- secretRef: - secretRef:
name: ghostfolio-secret name: ghostfolio-secret
containers: containers:
main: app:
image: image:
repository: docker.io/ghostfolio/ghostfolio repository: docker.io/ghostfolio/ghostfolio
tag: 2.66.3@sha256:cbd0cfaa200fc3b180b6880041268cc7c35197ff34a8ee5d9ca5448ce518a181 tag: 2.66.3@sha256:cbd0cfaa200fc3b180b6880041268cc7c35197ff34a8ee5d9ca5448ce518a181
@@ -58,14 +59,15 @@ spec:
cpu: 100m cpu: 100m
memory: 256Mi memory: 256Mi
service: service:
main: app:
controller: *app
ports: ports:
http: http:
port: 3333 port: 3333
ingress: ingress:
main: app:
enabled: true enabled: true
className: "nginx" className: nginx
annotations: annotations:
hajimari.io/icon: mdi:cash-multiple hajimari.io/icon: mdi:cash-multiple
hosts: hosts:
@@ -73,7 +75,7 @@ spec:
paths: paths:
- path: / - path: /
service: service:
name: main identifier: app
port: http port: http
tls: tls:
- hosts: - hosts:

View File

@@ -1,5 +1,5 @@
--- ---
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/helm.toolkit.fluxcd.io/helmrelease_v2beta2.json # yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2beta2.schema.json
apiVersion: helm.toolkit.fluxcd.io/v2beta2 apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease kind: HelmRelease
metadata: metadata:
@@ -10,7 +10,7 @@ spec:
chart: chart:
spec: spec:
chart: app-template chart: app-template
version: 2.6.0 version: 3.0.4
sourceRef: sourceRef:
kind: HelmRepository kind: HelmRepository
name: bjw-s name: bjw-s
@@ -23,6 +23,7 @@ spec:
upgrade: upgrade:
cleanupOnFail: true cleanupOnFail: true
remediation: remediation:
strategy: rollback
retries: 3 retries: 3
uninstall: uninstall:
keepHistory: false keepHistory: false
@@ -36,7 +37,7 @@ spec:
nodeSelector: nodeSelector:
nodo.feature.node.kubernetes.io/rflink: "true" nodo.feature.node.kubernetes.io/rflink: "true"
controllers: controllers:
main: home-assistant:
annotations: annotations:
reloader.stakater.com/auto: "true" reloader.stakater.com/auto: "true"
initContainers: initContainers:
@@ -48,7 +49,7 @@ spec:
- secretRef: - secretRef:
name: home-assistant-secret name: home-assistant-secret
containers: containers:
main: app:
image: image:
repository: ghcr.io/onedr0p/home-assistant repository: ghcr.io/onedr0p/home-assistant
tag: 2024.3.3@sha256:a4c2b7a75e8d5168a9e9f78d9d9f7f36435e2da07899e7faf5f6e3cdc4eebe56 tag: 2024.3.3@sha256:a4c2b7a75e8d5168a9e9f78d9d9f7f36435e2da07899e7faf5f6e3cdc4eebe56
@@ -73,7 +74,8 @@ spec:
securityContext: securityContext:
privileged: true privileged: true
service: service:
main: app:
controller: *app
type: LoadBalancer type: LoadBalancer
loadBalancerIP: ${CLUSTER_LB_HASS} loadBalancerIP: ${CLUSTER_LB_HASS}
externalTrafficPolicy: Local externalTrafficPolicy: Local
@@ -81,9 +83,9 @@ spec:
http: http:
port: 8123 port: 8123
ingress: ingress:
main: app:
enabled: true enabled: true
className: "nginx" className: nginx
annotations: annotations:
hajimari.io/icon: mdi:home-assistant hajimari.io/icon: mdi:home-assistant
hosts: hosts:
@@ -91,7 +93,7 @@ spec:
paths: paths:
- path: / - path: /
service: service:
name: main identifier: app
port: http port: http
tls: tls:
- hosts: - hosts:

View File

@@ -1,16 +1,16 @@
--- ---
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/helm.toolkit.fluxcd.io/helmrelease_v2beta2.json # yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2beta2.schema.json
apiVersion: helm.toolkit.fluxcd.io/v2beta2 apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease kind: HelmRelease
metadata: metadata:
name: home-assistant-code name: &app home-assistant-code
namespace: default namespace: default
spec: spec:
interval: 30m interval: 30m
chart: chart:
spec: spec:
chart: app-template chart: app-template
version: 2.6.0 version: 3.0.4
sourceRef: sourceRef:
kind: HelmRepository kind: HelmRepository
name: bjw-s name: bjw-s
@@ -22,6 +22,7 @@ spec:
upgrade: upgrade:
cleanupOnFail: true cleanupOnFail: true
remediation: remediation:
strategy: rollback
retries: 3 retries: 3
uninstall: uninstall:
keepHistory: false keepHistory: false
@@ -33,25 +34,25 @@ spec:
nodeSelector: nodeSelector:
nodo.feature.node.kubernetes.io/rflink: "true" nodo.feature.node.kubernetes.io/rflink: "true"
controllers: controllers:
main: home-assistant-code:
annotations: annotations:
reloader.stakater.com/auto: "true" reloader.stakater.com/auto: "true"
containers: containers:
main: app:
image: image:
repository: ghcr.io/coder/code-server repository: ghcr.io/coder/code-server
tag: 4.22.1@sha256:62e1d2596d564f2f44c0ca710c8790cf4267fdfb183c9c761d272778ad51b217 tag: 4.22.1@sha256:62e1d2596d564f2f44c0ca710c8790cf4267fdfb183c9c761d272778ad51b217
env: env:
TZ: ${TIMEZONE} TZ: ${TIMEZONE}
GIT_SSH_COMMAND: "ssh -i /config/.ssh/id_ed25519 -o IdentitiesOnly=yes" GIT_SSH_COMMAND: ssh -i /config/.ssh/id_ed25519 -o IdentitiesOnly=yes
args: args:
- --auth - --auth
- "none" - none
- --user-data-dir - --user-data-dir
- "/config/.vscode" - /config/.vscode
- --extensions-dir - --extensions-dir
- "/config/.vscode" - /config/.vscode
- "--port" - --port
- "8888" - "8888"
- /config - /config
resources: resources:
@@ -67,7 +68,8 @@ spec:
fsGroup: 0 fsGroup: 0
fsGroupChangePolicy: OnRootMismatch fsGroupChangePolicy: OnRootMismatch
service: service:
main: app:
controller: *app
ports: ports:
http: http:
port: 8888 port: 8888
@@ -80,7 +82,7 @@ spec:
paths: paths:
- path: / - path: /
service: service:
name: main identifier: app
port: http port: http
tls: tls:
- hosts: - hosts: