Fix znc init container
This commit is contained in:
parent
e4b00e4fed
commit
c4ce76df54
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue