diff --git a/cluster/apps/irc/znc/helm-release.yaml b/cluster/apps/irc/znc/helm-release.yaml index ee86512..bcc00d2 100644 --- a/cluster/apps/irc/znc/helm-release.yaml +++ b/cluster/apps/irc/znc/helm-release.yaml @@ -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: