Try to add a sidecar for ldap auth to znc
This commit is contained in:
parent
f27e77256a
commit
4bf41a9d5e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue