-
Notifications
You must be signed in to change notification settings - Fork 484
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: Secret store fixes for error log message and not writing eKuiper file unless it already exists #3787
fix: Secret store fixes for error log message and not writing eKuiper file unless it already exists #3787
Conversation
fixes edgexfoundry#3784 Signed-off-by: Leonard Goodell <[email protected]>
fixes edgexfoundry#3786 Signed-off-by: lenny <[email protected]> Signed-off-by: Leonard Goodell <[email protected]>
44bd9db
fc14d73
to
44bd9db
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Codecov Report
@@ Coverage Diff @@
## main #3787 +/- ##
==========================================
+ Coverage 45.75% 45.77% +0.02%
==========================================
Files 112 112
Lines 9636 9640 +4
==========================================
+ Hits 4409 4413 +4
Misses 4844 4844
Partials 383 383
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. I confirm that it now skips the config step and the snapped secure-secretstore-setup no longer fails:
$ sudo snap install ./edgexfoundry_2.0.1-dev.69_amd64.snap --dangerous
$ sudo journalctl -n 1000 -o cat | grep "skipping Secure MessageBus"
level=INFO ts=2021-10-28T07:01:03.963284772Z app=security-secretstore-setup source=secure-messagebus.go:109 msg="eKuiper file /var/snap/edgexfoundry/x1/kuiper/etc/connections/connection.yaml doesn't exist, skipping Secure MessageBus credentials injection"
level=INFO ts=2021-10-28T07:01:34.474494582Z app=security-secretstore-setup source=secure-messagebus.go:109 msg="eKuiper file /var/snap/edgexfoundry/x1/kuiper/etc/connections/connection.yaml doesn't exist, skipping Secure MessageBus credentials injection"
It supersedes #3785.
fixes #3784 & #3786
If your build fails due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/edgex-go/blob/main/.github/Contributing.md
PR Checklist
Please check if your PR fulfills the following requirements:
BREAKING CHANGE:
describing the break)Testing Instructions
For existing functionality not broken:
make docker_security_secretstore_setup
edgexfoundry/security-secretstore-setup:0.0.0-dev
make run
For functionality with eKuuiper 1.4.0:
KUIPER_VERSION=1.4.0-beta.1-alpine
make down
make run
New Dependency Instructions (If applicable)
N/A