2024-06-15 19:37:56 +00:00
|
|
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
2023-04-11 04:44:45 +00:00
|
|
|
kind: HelmRelease
|
|
|
|
metadata:
|
2023-04-12 05:30:13 +00:00
|
|
|
name: transfersh
|
|
|
|
namespace: tools
|
2023-04-11 04:44:45 +00:00
|
|
|
spec:
|
|
|
|
interval: 5m
|
|
|
|
chart:
|
|
|
|
spec:
|
|
|
|
chart: app-template
|
2024-08-29 17:22:12 +00:00
|
|
|
version: 3.4.x
|
2023-04-11 04:44:45 +00:00
|
|
|
sourceRef:
|
|
|
|
kind: HelmRepository
|
|
|
|
name: bjws-charts
|
|
|
|
namespace: flux-system
|
|
|
|
|
|
|
|
values:
|
|
|
|
image:
|
2023-04-12 05:30:13 +00:00
|
|
|
repository: dutchcoders/transfer.sh
|
2024-01-23 01:18:03 +00:00
|
|
|
tag: v1.6.1
|
2023-04-11 04:44:45 +00:00
|
|
|
|
2023-04-12 05:30:13 +00:00
|
|
|
args:
|
|
|
|
- --provider
|
2023-04-26 00:07:10 +00:00
|
|
|
- s3
|
2023-04-11 04:44:45 +00:00
|
|
|
|
2023-04-12 05:30:13 +00:00
|
|
|
- --temp-path
|
|
|
|
- /tmp/
|
|
|
|
|
|
|
|
- --max-upload-size
|
|
|
|
- "10000000"
|
2023-04-15 03:39:12 +00:00
|
|
|
|
2023-04-26 00:07:10 +00:00
|
|
|
envFrom:
|
|
|
|
- secretRef:
|
|
|
|
name: transfersh-s3-bucket-secrets
|
2023-04-11 04:44:45 +00:00
|
|
|
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
http:
|
|
|
|
port: 8080
|
|
|
|
|
|
|
|
probes:
|
|
|
|
liveness:
|
|
|
|
enabled: false
|
|
|
|
|
|
|
|
ingress:
|
|
|
|
main:
|
|
|
|
enabled: true
|
|
|
|
annotations:
|
2023-04-15 05:17:55 +00:00
|
|
|
cert-manager.io/cluster-issuer: letsencrypt-production
|
2023-04-11 04:44:45 +00:00
|
|
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
|
|
|
hosts:
|
2023-04-13 05:21:06 +00:00
|
|
|
- host: &host "upload.${SECRET_NEW_DOMAIN}"
|
2023-04-11 04:44:45 +00:00
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
pathType: Prefix
|
2023-04-13 05:21:06 +00:00
|
|
|
tls:
|
|
|
|
- hosts:
|
|
|
|
- *host
|
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
|