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:
parent
b1ef024724
commit
129aa3dce7
@ -7,4 +7,4 @@ WORKDIR /home/appuser
|
||||
COPY ./target/release/gingress /bin
|
||||
USER appuser
|
||||
EXPOSE 80 443 8080
|
||||
CMD ["gingress"]
|
||||
ENTRYPOINT ["gingress"]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user