fix(gingress): use ENTRYPOINT instead of CMD so Kubernetes args are passed correctly

Without ENTRYPOINT, Kubernetes replaces CMD with args, causing the container
to try executing "--ingress-class=gingress" as a binary directly.
This commit is contained in:
ZhenYi 2026-05-11 01:34:17 +08:00
parent b1ef024724
commit 129aa3dce7

View File

@ -7,4 +7,4 @@ WORKDIR /home/appuser
COPY ./target/release/gingress /bin
USER appuser
EXPOSE 80 443 8080
CMD ["gingress"]
ENTRYPOINT ["gingress"]