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: initContainers:
pull-module-source: pull-module-source:
image: alpine:latest 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: image:
repository: znc repository: znc
@ -61,7 +67,7 @@ spec:
enabled: true enabled: true
type: hostPath type: hostPath
hostPath: /mnt/MainPool/Kubernetes/znc hostPath: /mnt/MainPool/Kubernetes/znc
mountPath: /config mountPath: /znc-data
resources: resources:
requests: requests: