k3s-cluster/cluster/apps/irc/znc/helm-release.yaml

71 lines
1.6 KiB
YAML
Raw Normal View History

2023-04-13 13:12:47 -04:00
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: znc
namespace: irc
spec:
interval: 5m
chart:
spec:
chart: app-template
version: 1.3.x
sourceRef:
kind: HelmRepository
name: bjws-charts
namespace: flux-system
values:
2023-04-13 14:10:26 -04:00
# Add init container for pulling znc modules and putting them into the modules directory
initContainers:
- name: pull-module-source
image: alpine:latest
command: ["sh", "-c", "wget https://raw.githubusercontent.com/Zarthus/znc-modules/master/ctcp_notifier.cpp -P /config/modules"]
2023-04-13 13:12:47 -04:00
image:
2023-04-13 14:10:26 -04:00
repository: znc
2023-04-13 13:12:47 -04:00
tag: latest
2023-04-13 14:10:26 -04:00
2023-04-13 13:28:36 -04:00
env:
TZ: America/New_York
PGID: "1000"
PUID: "1000"
2023-04-13 14:10:26 -04:00
2023-04-13 13:12:47 -04:00
service:
main:
ports:
http:
port: 6501
2023-04-13 14:10:26 -04:00
2023-04-13 13:12:47 -04:00
probes:
liveness:
enabled: false
2023-04-13 14:10:26 -04:00
2023-04-13 13:12:47 -04:00
ingress:
main:
enabled: true
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.middlewares: traefik-authentik@kubernetescrd
hosts:
- host: &host "znc.${SECRET_NEW_DOMAIN}"
paths:
- path: /
pathType: Prefix
tls:
- hosts:
- *host
secretName: wildcard-main-tls
2023-04-13 14:10:26 -04:00
2023-04-13 13:12:47 -04:00
persistence:
config:
enabled: true
type: hostPath
hostPath: /mnt/MainPool/Kubernetes/znc
mountPath: /config
resources:
requests:
cpu: 1m
memory: 4Mi
limits:
2023-04-13 14:21:22 -04:00
memory: 200Mi