diff --git a/cluster/apps/irc/znc/helm-release.yaml b/cluster/apps/irc/znc/helm-release.yaml index bcc00d2..4d79b79 100644 --- a/cluster/apps/irc/znc/helm-release.yaml +++ b/cluster/apps/irc/znc/helm-release.yaml @@ -15,6 +15,9 @@ spec: namespace: flux-system values: + podLabels: + needsAuthentik: "yes" + # Add init container for pulling znc modules and putting them into the modules directory initContainers: pull-module-source: @@ -31,6 +34,14 @@ spec: repository: znc tag: latest + sidecars: + saslauthd-sidecar: + image: dweomer/saslauthd:latest + args: ["-O", "/znc-data/saslauthd.conf"] + volumeMounts: + - mountPath: /znc-data + name: config + env: TZ: America/New_York PGID: "1000" @@ -69,6 +80,14 @@ spec: hostPath: /mnt/MainPool/Kubernetes/znc mountPath: /znc-data + # This shared directory is used to share the unix socket between znc and saslauth + shared: + enabled: true + type: emptyDir + mountPath: /var/run/saslauthd/ + medium: Memory + sizeLimit: 512Mi # Should be way more than enough + resources: requests: cpu: 1m