Dont use shared pv, just make a separate one

This commit is contained in:
SeanOMik 2023-04-13 22:28:27 -04:00
parent 4bf41a9d5e
commit 76ea851eee
Signed by: SeanOMik
GPG Key ID: 568F326C7EB33ACB
1 changed files with 4 additions and 2 deletions

View File

@ -37,10 +37,12 @@ spec:
sidecars: sidecars:
saslauthd-sidecar: saslauthd-sidecar:
image: dweomer/saslauthd:latest image: dweomer/saslauthd:latest
args: ["-O", "/znc-data/saslauthd.conf"] args: ["-a", "ldap", "-d", "1", "-O", "/znc-data/saslauthd.conf"]
volumeMounts: volumeMounts:
- mountPath: /znc-data - mountPath: /znc-data
name: config name: config
- mountPath: /var/run/saslauthd
name: saslauthd-socket
env: env:
TZ: America/New_York TZ: America/New_York
@ -81,7 +83,7 @@ spec:
mountPath: /znc-data mountPath: /znc-data
# This shared directory is used to share the unix socket between znc and saslauth # This shared directory is used to share the unix socket between znc and saslauth
shared: saslauthd-socket:
enabled: true enabled: true
type: emptyDir type: emptyDir
mountPath: /var/run/saslauthd/ mountPath: /var/run/saslauthd/