Skip to content

Commit

Permalink
Use ENTRYPOINT instead of CMD to run promqltodd (#61)
Browse files Browse the repository at this point in the history
Requested at: #60
  • Loading branch information
taonic authored Aug 21, 2023
1 parent 891a272 commit 966c8c4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion cloud/observability/promql-to-dd-go/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ FROM --platform=${BUILDPLATFORM:-linux/amd64} centos:latest

COPY --from=builder ${GOPATH:-/go}/bin/promqltodd /

CMD ["/promqltodd"]
ENTRYPOINT ["/promqltodd"]
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ spec:
- name: promqltodd
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.imagePullPolicy }}
command: ["/promqltodd"]
args:
- --client-cert=/var/run/secrets/ca_cert
- --client-key=/var/run/secrets/ca_key
Expand Down

0 comments on commit 966c8c4

Please sign in to comment.