diff options
| author | Xe Iaso <me@xeiaso.net> | 2024-12-22 16:06:30 -0500 |
|---|---|---|
| committer | Xe Iaso <me@xeiaso.net> | 2025-01-05 21:27:06 -0500 |
| commit | d978c2e24aa0db6e4fca78e298b835bd72cea660 (patch) | |
| tree | 621da8063c26a6ff99bd3f5aa63c22cd11f5b34e /kube/alrest/znc/deployment.yaml | |
| parent | 7bf23c2d6d3e654a21f4e98c53115df4cfb06700 (diff) | |
| download | x-d978c2e24aa0db6e4fca78e298b835bd72cea660.tar.xz x-d978c2e24aa0db6e4fca78e298b835bd72cea660.zip | |
kube/alrest: add znc
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'kube/alrest/znc/deployment.yaml')
| -rw-r--r-- | kube/alrest/znc/deployment.yaml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/kube/alrest/znc/deployment.yaml b/kube/alrest/znc/deployment.yaml new file mode 100644 index 0000000..6f25bd4 --- /dev/null +++ b/kube/alrest/znc/deployment.yaml @@ -0,0 +1,37 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app: znc + name: znc +spec: + replicas: 1 + selector: + matchLabels: + app: znc + template: + metadata: + labels: + app: znc + spec: + volumes: + - name: config + persistentVolumeClaim: + claimName: znc + initContainers: + - name: init-config + image: znc:latest + imagePullPolicy: Always + command: ['/bin/sh', '-c', "until [ -f /znc-data/configs/znc.conf ]; do echo waiting for znc.conf; sleep 2; done"] + volumeMounts: + - mountPath: /znc-data + name: config + containers: + - name: znc + image: znc:latest + ports: + - containerPort: 1337 + - containerPort: 6667 + volumeMounts: + - mountPath: /znc-data + name: config
\ No newline at end of file |
