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