From 88b8e146c3d2dbd7824c04197c3143e80b577731 Mon Sep 17 00:00:00 2001 From: theautomation Date: Wed, 21 Dec 2022 16:39:53 +0100 Subject: [PATCH] Test with k8s entry and args --- deploy/container/Containerfile | 2 -- deploy/k8s/manifest.yaml | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/container/Containerfile b/deploy/container/Containerfile index b3d86bd..ffc0cbd 100644 --- a/deploy/container/Containerfile +++ b/deploy/container/Containerfile @@ -57,5 +57,3 @@ VOLUME /config /data EXPOSE 5232 COPY ./src/docker-entrypoint.sh /usr/local/bin -ENTRYPOINT ["docker-entrypoint.sh"] -CMD ["radicale", "--config", "/config/config"] \ No newline at end of file diff --git a/deploy/k8s/manifest.yaml b/deploy/k8s/manifest.yaml index c0beff8..7ad8d48 100644 --- a/deploy/k8s/manifest.yaml +++ b/deploy/k8s/manifest.yaml @@ -107,6 +107,8 @@ spec: - name: radicale image: "harbor.k8s.lan/k8s/radicale:12" resources: {} + command: ["docker-entrypoint.sh"] + args: ["radicale", "--config", "/config/config"] ports: - containerPort: 5232 protocol: TCP