Use a single docker image with built-in ldap for znc
This commit is contained in:
parent
76ea851eee
commit
7941f0f466
|
@ -31,23 +31,8 @@ spec:
|
||||||
name: config
|
name: config
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: znc
|
repository: ghcr.io/seanomik/docker-znc-ldap
|
||||||
tag: latest
|
tag: latest
|
||||||
|
|
||||||
sidecars:
|
|
||||||
saslauthd-sidecar:
|
|
||||||
image: dweomer/saslauthd:latest
|
|
||||||
args: ["-a", "ldap", "-d", "1", "-O", "/znc-data/saslauthd.conf"]
|
|
||||||
volumeMounts:
|
|
||||||
- mountPath: /znc-data
|
|
||||||
name: config
|
|
||||||
- mountPath: /var/run/saslauthd
|
|
||||||
name: saslauthd-socket
|
|
||||||
|
|
||||||
env:
|
|
||||||
TZ: America/New_York
|
|
||||||
PGID: "1000"
|
|
||||||
PUID: "1000"
|
|
||||||
|
|
||||||
service:
|
service:
|
||||||
main:
|
main:
|
||||||
|
@ -64,7 +49,7 @@ spec:
|
||||||
enabled: true
|
enabled: true
|
||||||
annotations:
|
annotations:
|
||||||
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
||||||
traefik.ingress.kubernetes.io/router.middlewares: traefik-authentik@kubernetescrd
|
# traefik.ingress.kubernetes.io/router.middlewares: traefik-authentik@kubernetescrd
|
||||||
hosts:
|
hosts:
|
||||||
- host: &host "znc.${SECRET_NEW_DOMAIN}"
|
- host: &host "znc.${SECRET_NEW_DOMAIN}"
|
||||||
paths:
|
paths:
|
||||||
|
@ -82,14 +67,6 @@ 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
|
|
||||||
saslauthd-socket:
|
|
||||||
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