fix(fireflyiii): use app-template 3.1.0, fix issue with pvc
This commit is contained in:
parent
fa49c7b977
commit
3620847701
|
@ -1,54 +1,63 @@
|
||||||
|
# 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: firefly-iii
|
name: fireflyiii
|
||||||
namespace: default
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
interval: 5m
|
interval: 5m
|
||||||
chart:
|
chart:
|
||||||
spec:
|
spec:
|
||||||
chart: app-template
|
chart: app-template
|
||||||
version: 1.3.x
|
version: 3.1.0
|
||||||
sourceRef:
|
sourceRef:
|
||||||
kind: HelmRepository
|
kind: HelmRepository
|
||||||
name: bjws-charts
|
name: bjws-charts
|
||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
|
|
||||||
values:
|
values:
|
||||||
image:
|
controllers:
|
||||||
repository: fireflyiii/core
|
main:
|
||||||
tag: version-6.0.30
|
pod:
|
||||||
|
securityContext:
|
||||||
|
runAsNonRoot: true
|
||||||
|
runAsUser: 10000
|
||||||
|
runAsGroup: 10000
|
||||||
|
fsGroup: 10000
|
||||||
|
fsGroupChangePolicy: OnRootMismatch
|
||||||
|
|
||||||
envFrom:
|
containers:
|
||||||
- secretRef:
|
main:
|
||||||
name: "firefly-env-secret"
|
image:
|
||||||
|
repository: fireflyiii/core
|
||||||
|
tag: version-6.0.30
|
||||||
|
|
||||||
service:
|
service:
|
||||||
main:
|
app:
|
||||||
|
controller: main
|
||||||
|
|
||||||
ports:
|
ports:
|
||||||
http:
|
http:
|
||||||
port: 8080
|
port: 8080
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
main:
|
main:
|
||||||
enabled: true
|
|
||||||
annotations:
|
annotations:
|
||||||
cert-manager.io/cluster-issuer: letsencrypt-production
|
cert-manager.io/cluster-issuer: letsencrypt-production
|
||||||
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
||||||
traefik.ingress.kubernetes.io/router.middlewares: traefik-authentik@kubernetescrd
|
traefik.ingress.kubernetes.io/router.middlewares: traefik-authentik@kubernetescrd
|
||||||
|
|
||||||
hosts:
|
hosts:
|
||||||
- host: &host "budget.${SECRET_NEW_DOMAIN}"
|
- host: "budget.${SECRET_NEW_DOMAIN}"
|
||||||
paths:
|
paths:
|
||||||
- path: /
|
- path: /
|
||||||
pathType: Prefix
|
service:
|
||||||
tls:
|
identifier: app
|
||||||
- hosts:
|
port: http
|
||||||
- *host
|
|
||||||
|
|
||||||
persistence:
|
persistence:
|
||||||
firefly-uploads:
|
firefly-uploads:
|
||||||
enabled: true
|
type: hostPath
|
||||||
type: pvc
|
hostPath: /mnt/MainPool/Kubernetes/fireflyiii-uploads
|
||||||
accessMode: ReadWriteOnce
|
globalMounts:
|
||||||
size: 8Gi
|
- path: /var/www/html/storage/upload
|
||||||
mountPath: /var/www/html/storage/upload
|
|
||||||
|
|
Loading…
Reference in New Issue