Skip to content

Commit

Permalink
fix: Don't register spiffe token provider service (#4536)
Browse files Browse the repository at this point in the history
go-mod-bootstrap only allows registration of HTTP healtchecks with consul, which will not work for this service, as it requires clients have a client TLS certificate.  In any case, registration is not required for proper functioning of the service

Closes #4531

Signed-off-by: Bryon Nevis <bryon.nevis@intel.com>
  • Loading branch information
bnevis-i authored Apr 27, 2023
1 parent 824c097 commit 805e484
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/security-spiffe-token-provider/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ COPY --from=builder /edgex-go/cmd/security-spiffe-token-provider/security-spiffe
COPY --from=builder /edgex-go/cmd/security-spiffe-token-provider/res/configuration.yaml /res/configuration.yaml

ENTRYPOINT [ "/security-spiffe-token-provider" ]
CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"]
CMD ["-cp=consul.http://edgex-core-consul:8500"]

0 comments on commit 805e484

Please sign in to comment.