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
|
namespace: flux-system
|
||||||
|
|
||||||
values:
|
values:
|
||||||
|
podLabels:
|
||||||
|
needsAuthentik: "yes"
|
||||||
|
|
||||||
# Add init container for pulling znc modules and putting them into the modules directory
|
# Add init container for pulling znc modules and putting them into the modules directory
|
||||||
initContainers:
|
initContainers:
|
||||||
pull-module-source:
|
pull-module-source:
|
||||||
|
@ -31,6 +34,14 @@ spec:
|
||||||
repository: znc
|
repository: znc
|
||||||
tag: latest
|
tag: latest
|
||||||
|
|
||||||
|
sidecars:
|
||||||
|
saslauthd-sidecar:
|
||||||
|
image: dweomer/saslauthd:latest
|
||||||
|
args: ["-O", "/znc-data/saslauthd.conf"]
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /znc-data
|
||||||
|
name: config
|
||||||
|
|
||||||
env:
|
env:
|
||||||
TZ: America/New_York
|
TZ: America/New_York
|
||||||
PGID: "1000"
|
PGID: "1000"
|
||||||
|
@ -69,6 +80,14 @@ spec:
|
||||||
hostPath: /mnt/MainPool/Kubernetes/znc
|
hostPath: /mnt/MainPool/Kubernetes/znc
|
||||||
mountPath: /znc-data
|
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:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 1m
|
cpu: 1m
|
||||||
|
|
Loading…
Reference in New Issue