mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00
⬆️ Update app-template ( 2.6.0 → 3.0.4 )
This commit is contained in:
@@ -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
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
@@ -10,7 +10,7 @@ spec:
|
||||
chart:
|
||||
spec:
|
||||
chart: app-template
|
||||
version: 2.6.0
|
||||
version: 3.0.4
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: bjw-s
|
||||
@@ -23,6 +23,7 @@ spec:
|
||||
upgrade:
|
||||
cleanupOnFail: true
|
||||
remediation:
|
||||
strategy: rollback
|
||||
retries: 3
|
||||
uninstall:
|
||||
keepHistory: false
|
||||
@@ -31,7 +32,7 @@ spec:
|
||||
namespace: database
|
||||
values:
|
||||
controllers:
|
||||
main:
|
||||
lychee:
|
||||
annotations:
|
||||
reloader.stakater.com/auto: "true"
|
||||
initContainers:
|
||||
@@ -43,7 +44,7 @@ spec:
|
||||
- secretRef:
|
||||
name: lychee-secret
|
||||
containers:
|
||||
main:
|
||||
app:
|
||||
image:
|
||||
repository: lycheeorg/lychee-laravel
|
||||
tag: v5.1.2@sha256:7fc2f88fb993a5930ce8396fce401a0396d9051199945a3d2c6c01c45eeeae38
|
||||
@@ -62,14 +63,15 @@ spec:
|
||||
cpu: 100m
|
||||
memory: 256Mi
|
||||
service:
|
||||
main:
|
||||
app:
|
||||
controller: *app
|
||||
ports:
|
||||
http:
|
||||
port: 80
|
||||
ingress:
|
||||
main:
|
||||
app:
|
||||
enabled: true
|
||||
className: "nginx"
|
||||
className: nginx
|
||||
annotations:
|
||||
external-dns.alpha.kubernetes.io/enabled: "true"
|
||||
external-dns.alpha.kubernetes.io/target: services.${SECRET_DOMAIN}.
|
||||
@@ -79,7 +81,8 @@ spec:
|
||||
paths:
|
||||
- path: /
|
||||
service:
|
||||
name: main
|
||||
identifier: app
|
||||
port: http
|
||||
tls:
|
||||
- hosts:
|
||||
- *host
|
||||
@@ -92,8 +95,7 @@ spec:
|
||||
photo:
|
||||
enabled: true
|
||||
type: nfs
|
||||
server: "192.168.9.10"
|
||||
server: ${LOCAL_LAN_TRUENAS}
|
||||
path: /mnt/storage/photo
|
||||
readOnly: true
|
||||
globalMounts:
|
||||
- path: /mnt/storage/photo
|
||||
|
@@ -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
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: lychee-sync
|
||||
name: &app lychee-sync
|
||||
namespace: default
|
||||
spec:
|
||||
interval: 30m
|
||||
chart:
|
||||
spec:
|
||||
chart: app-template
|
||||
version: 2.6.0
|
||||
version: 3.0.4
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: bjw-s
|
||||
@@ -23,6 +23,7 @@ spec:
|
||||
upgrade:
|
||||
cleanupOnFail: true
|
||||
remediation:
|
||||
strategy: rollback
|
||||
retries: 3
|
||||
uninstall:
|
||||
keepHistory: false
|
||||
@@ -32,15 +33,15 @@ spec:
|
||||
type: cronjob
|
||||
cronjob:
|
||||
concurrencyPolicy: Forbid
|
||||
schedule: "0 0 * * 1" # At 00:00 on Monday
|
||||
schedule: 0 0 * * 1 # At 00:00 on Monday
|
||||
containers:
|
||||
main:
|
||||
image:
|
||||
repository: ghcr.io/auricom/kubectl
|
||||
tag: 1.29.2@sha256:693ced2697bb7c7349419d4035a62bd474fc41710675b344f71773d8a687dfc3
|
||||
command:
|
||||
- "/bin/bash"
|
||||
- "-c"
|
||||
- /bin/bash
|
||||
- -c
|
||||
- |
|
||||
#!/bin/bash
|
||||
|
||||
@@ -56,8 +57,9 @@ spec:
|
||||
exit 1
|
||||
fi
|
||||
service:
|
||||
main:
|
||||
app:
|
||||
controller: *app
|
||||
enabled: false
|
||||
serviceAccount:
|
||||
create: false
|
||||
name: "jobs"
|
||||
name: jobs
|
||||
|
Reference in New Issue
Block a user