2023-04-17 00:10:28 +00:00
|
|
|
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
|
|
|
kind: HelmRelease
|
|
|
|
metadata:
|
|
|
|
name: firefly-iii
|
|
|
|
namespace: default
|
|
|
|
spec:
|
|
|
|
interval: 5m
|
|
|
|
chart:
|
|
|
|
spec:
|
|
|
|
chart: app-template
|
|
|
|
version: 1.3.x
|
|
|
|
sourceRef:
|
|
|
|
kind: HelmRepository
|
|
|
|
name: bjws-charts
|
|
|
|
namespace: flux-system
|
|
|
|
|
|
|
|
values:
|
|
|
|
image:
|
2023-04-17 00:35:53 +00:00
|
|
|
repository: fireflyiii/core
|
2023-10-07 15:49:17 +00:00
|
|
|
tag: version-6.0.26
|
2023-04-17 00:10:28 +00:00
|
|
|
|
2023-04-19 05:42:31 +00:00
|
|
|
envFrom:
|
|
|
|
- secretRef:
|
|
|
|
name: "firefly-env-secret"
|
2023-04-17 00:35:53 +00:00
|
|
|
|
2023-04-17 00:10:28 +00:00
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
http:
|
2023-10-07 15:54:09 +00:00
|
|
|
port: &port 8080
|
2023-04-17 00:10:28 +00:00
|
|
|
|
|
|
|
probes:
|
2023-10-07 15:40:17 +00:00
|
|
|
startup:
|
|
|
|
custom: true
|
|
|
|
spec:
|
2023-10-07 15:54:09 +00:00
|
|
|
httpGet:
|
|
|
|
path: /
|
|
|
|
port: *port
|
2023-10-07 15:40:17 +00:00
|
|
|
initialDelaySeconds: 60
|
|
|
|
periodSeconds: 10
|
|
|
|
timeoutSeconds: 5
|
|
|
|
failureThreshold: 30
|
2023-04-17 00:10:28 +00:00
|
|
|
|
|
|
|
ingress:
|
|
|
|
main:
|
|
|
|
enabled: true
|
|
|
|
annotations:
|
|
|
|
cert-manager.io/cluster-issuer: letsencrypt-production
|
|
|
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
2023-06-08 22:36:23 +00:00
|
|
|
traefik.ingress.kubernetes.io/router.middlewares: traefik-authentik@kubernetescrd
|
2023-04-17 00:10:28 +00:00
|
|
|
hosts:
|
|
|
|
- host: &host "budget.${SECRET_NEW_DOMAIN}"
|
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
pathType: Prefix
|
|
|
|
tls:
|
|
|
|
- hosts:
|
|
|
|
- *host
|
|
|
|
secretName: wildcard-main-tls
|
|
|
|
|
|
|
|
persistence:
|
2023-04-17 00:35:53 +00:00
|
|
|
firefly-uploads:
|
2023-04-17 00:10:28 +00:00
|
|
|
enabled: true
|
2023-04-17 00:35:53 +00:00
|
|
|
type: pvc
|
|
|
|
accessMode: ReadWriteOnce
|
|
|
|
size: 8Gi
|
|
|
|
mountPath: /var/www/html/storage/upload
|
2023-04-17 00:10:28 +00:00
|
|
|
|
2023-06-08 22:36:23 +00:00
|
|
|
# podSecurityContext:
|
|
|
|
# runAsNonRoot: true
|
|
|
|
# runAsUser: 10000
|
|
|
|
# runAsGroup: 10000
|
|
|
|
# fsGroup: 10000
|
|
|
|
# fsGroupChangePolicy: OnRootMismatch
|
2023-06-02 02:54:02 +00:00
|
|
|
|
2023-04-19 05:37:36 +00:00
|
|
|
# resources:
|
|
|
|
# requests:
|
|
|
|
# cpu: 1m
|
2023-04-17 00:35:53 +00:00
|
|
|
# memory: 275Mi
|
|
|
|
# limits:
|
|
|
|
# memory: 500Mi
|