From d3551e8ff253bba6115b834bed84c192142ab92a Mon Sep 17 00:00:00 2001 From: Bryon Nevis Date: Thu, 27 Apr 2023 10:36:41 -0700 Subject: [PATCH] fix: Don't register spiffe token provider service 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 --- cmd/security-spiffe-token-provider/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/security-spiffe-token-provider/Dockerfile b/cmd/security-spiffe-token-provider/Dockerfile index f6fcbed6f7..5a6f9c1369 100644 --- a/cmd/security-spiffe-token-provider/Dockerfile +++ b/cmd/security-spiffe-token-provider/Dockerfile @@ -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"]