theshire/kubernetes/apps/default/thelounge/app/helmrelease.yaml

80 lines
1.8 KiB
YAML
Raw Permalink Normal View History

2024-08-13 19:54:20 -05:00
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2.schema.json
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: thelounge
spec:
interval: 30m
chart:
spec:
chart: app-template
version: 3.3.2
2024-08-13 19:54:20 -05:00
interval: 30m
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
values:
controllers:
thelounge:
type: statefulset
annotations:
reloader.stakater.com/auto: "true"
statefulset:
volumeClaimTemplates:
- name: config
accessMode: ReadWriteOnce
size: 1Gi
storageClass: openebs-zfs
globalMounts:
- path: /config
containers:
app:
image:
repository: ghcr.io/thelounge/thelounge
tag: 4.4.3
env:
THELOUNGE_HOME: /config
probes:
liveness:
enabled: true
readiness:
enabled: true
startup:
enabled: true
spec:
failureThreshold: 30
periodSeconds: 5
resources:
requests:
cpu: 12m
memory: 256M
limits:
memory: 512M
service:
app:
controller: thelounge
ports:
http:
port: 9000
ingress:
app:
className: internal-nginx
hosts:
- host: &host "{{ .Release.Name }}.jahanson.tech"
paths:
- path: /
service:
identifier: app
port: http
tls:
- hosts:
- *host