Fix znc init container

This commit is contained in:
SeanOMik 2023-04-13 20:36:56 -04:00
parent e4b00e4fed
commit c4ce76df54
Signed by: SeanOMik
GPG Key ID: 568F326C7EB33ACB
1 changed files with 8 additions and 2 deletions

View File

@ -19,7 +19,13 @@ spec:
initContainers:
pull-module-source:
image: alpine:latest
command: ["sh", "-c", "wget https://raw.githubusercontent.com/Zarthus/znc-modules/master/ctcp_notifier.cpp -P /config/modules"]
command:
- "sh"
- "-c"
- "rm -f /config/modules/ctcp_notifier.*; wget https://raw.githubusercontent.com/Zarthus/znc-modules/master/ctcp_notifier.cpp -P /config/modules"
volumeMounts:
- mountPath: /znc-data
name: config
image:
repository: znc
@ -61,7 +67,7 @@ spec:
enabled: true
type: hostPath
hostPath: /mnt/MainPool/Kubernetes/znc
mountPath: /config
mountPath: /znc-data
resources:
requests: