Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Don't register spiffe token provider service #4536

Merged
merged 1 commit into from
Apr 27, 2023
Merged

fix: Don't register spiffe token provider service #4536

merged 1 commit into from
Apr 27, 2023

Conversation

bnevis-i
Copy link
Collaborator

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

PR Checklist

Please check if your PR fulfills the following requirements:

  • I am not introducing a breaking change (if you are, flag in conventional commit message with BREAKING CHANGE: describing the break)
  • I am not introducing a new dependency (add notes below if you are)
  • I have added unit tests for the new feature or bug fix (if not, why?)
  • I have fully tested (add details below) this the new feature or bug fix (if not, why?)
  • I have opened a PR for the related docs change (if not, why?)

Testing Instructions

This service never runs in secure mode and thus embedded CMD is never exercised.
Actually fixed by edgex-compose#375, but this corresponding change is made for conistency.

New Dependency Instructions (If applicable)

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 <[email protected]>
@bnevis-i bnevis-i requested a review from vli11 April 27, 2023 17:38
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
12.2% 12.2% Duplication

@codecov-commenter
Copy link

Codecov Report

Merging #4536 (d3551e8) into main (824c097) will not change coverage.
The diff coverage is n/a.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@           Coverage Diff           @@
##             main    #4536   +/-   ##
=======================================
  Coverage   41.53%   41.53%           
=======================================
  Files         106      106           
  Lines        9766     9766           
=======================================
  Hits         4056     4056           
  Misses       5364     5364           
  Partials      346      346           

@bnevis-i bnevis-i merged commit 805e484 into edgexfoundry:main Apr 27, 2023
@bnevis-i bnevis-i deleted the no-register-spiffe-provider branch April 27, 2023 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consul Health Check: security-spiffe-token-provider 400 Bad Request
3 participants