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-04-17 00:10:28 +00:00
|
|
|
tag: latest
|
|
|
|
|
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:
|
|
|
|
port: 8080
|
|
|
|
|
|
|
|
probes:
|
|
|
|
liveness:
|
|
|
|
enabled: false
|
|
|
|
|
|
|
|
ingress:
|
|
|
|
main:
|
|
|
|
enabled: true
|
|
|
|
annotations:
|
|
|
|
cert-manager.io/cluster-issuer: letsencrypt-production
|
|
|
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
|
|
|
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-02 02:54:02 +00:00
|
|
|
podSecurityContext:
|
|
|
|
runAsNonRoot: true
|
|
|
|
runAsUser: 10000
|
|
|
|
runAsGroup: 10000
|
|
|
|
fsGroup: 10000
|
|
|
|
fsGroupChangePolicy: OnRootMismatch
|
|
|
|
|
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
|