k3s-cluster/cluster/apps/tools/transfersh/helm-release.yaml

71 lines
1.3 KiB
YAML
Raw Normal View History

2023-04-11 04:44:45 +00:00
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: transfersh
namespace: tools
2023-04-11 04:44:45 +00:00
spec:
interval: 5m
chart:
spec:
chart: app-template
version: 1.3.x
sourceRef:
kind: HelmRepository
name: bjws-charts
namespace: flux-system
values:
image:
repository: dutchcoders/transfer.sh
tag: latest
2023-04-11 04:44:45 +00:00
args:
- --provider
- local
2023-04-11 04:44:45 +00:00
- --basedir
- /storage/
- --temp-path
- /tmp/
- --max-upload-size
- "10000000"
2023-04-11 04:44:45 +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: "upload.${SECRET_NEW_DOMAIN}"
2023-04-11 04:44:45 +00:00
paths:
- path: /
pathType: Prefix
persistence:
storage:
2023-04-11 04:44:45 +00:00
enabled: true
type: pvc
accessMode: ReadWriteOnce
size: 40Gi
mountPath: /storage
2023-04-11 04:44:45 +00:00
resources:
requests:
2023-04-12 05:36:26 +00:00
cpu: 1m
memory: 8Mi
2023-04-11 04:44:45 +00:00
limits:
2023-04-12 05:36:26 +00:00
memory: 500Mi