2024-06-15 19:37:56 +00:00
|
|
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
2023-04-13 00:31:39 +00:00
|
|
|
kind: HelmRelease
|
|
|
|
metadata:
|
|
|
|
name: hastebin
|
|
|
|
namespace: tools
|
2023-04-13 00:59:55 +00:00
|
|
|
labels:
|
|
|
|
needsDatabase: "yes"
|
2023-04-13 00:31:39 +00:00
|
|
|
spec:
|
|
|
|
interval: 5m
|
|
|
|
chart:
|
|
|
|
spec:
|
|
|
|
chart: app-template
|
2024-11-10 21:05:56 +00:00
|
|
|
version: 3.5.x
|
2023-04-13 00:31:39 +00:00
|
|
|
sourceRef:
|
|
|
|
kind: HelmRepository
|
|
|
|
name: bjws-charts
|
|
|
|
namespace: flux-system
|
|
|
|
|
|
|
|
values:
|
|
|
|
image:
|
|
|
|
repository: flippinturt/hastebin
|
|
|
|
tag: latest
|
|
|
|
|
|
|
|
podLabels:
|
|
|
|
needsDatabase: "yes"
|
|
|
|
|
|
|
|
env:
|
|
|
|
STORAGE_TYPE: redis
|
2023-04-13 00:38:37 +00:00
|
|
|
STORAGE_HOST: redis-master.database
|
2023-04-13 00:31:39 +00:00
|
|
|
STORAGE_PORT: "6379"
|
|
|
|
|
|
|
|
STORAGE_PASSWORD:
|
|
|
|
valueFrom:
|
|
|
|
secretKeyRef:
|
|
|
|
name: redis-secrets
|
|
|
|
key: password
|
|
|
|
|
|
|
|
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
http:
|
|
|
|
port: 7777
|
|
|
|
|
|
|
|
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-13 00:31:39 +00:00
|
|
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
|
|
|
hosts:
|
2023-04-13 05:21:06 +00:00
|
|
|
- host: &host "paste.${SECRET_NEW_DOMAIN}"
|
2023-04-13 00:31:39 +00:00
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
pathType: Prefix
|
2023-04-13 05:21:06 +00:00
|
|
|
tls:
|
|
|
|
- hosts:
|
|
|
|
- *host
|
2023-04-13 00:31:39 +00:00
|
|
|
|
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
cpu: 1m
|
|
|
|
memory: 14Mi
|
|
|
|
|
2023-12-14 03:18:52 +00:00
|
|
|
# limits:
|
|
|
|
# memory: 50Mi
|