-
Notifications
You must be signed in to change notification settings - Fork 262
feat(security): Deploy new security-bootstrapper service #372
feat(security): Deploy new security-bootstrapper service #372
Conversation
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.
LGTM
860089c
to
35c0917
Compare
35c0917
to
3730bc9
Compare
@jim-wang-intel , I merge my PR. Please rebase and address any changes needed in the new partial compose files for services that are expected to run in secure mode. |
ce08efb
to
30748b5
Compare
ef02557
to
32f731f
Compare
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.
Looks good, just one minor name suggestion.
32f731f
to
89cfe0e
Compare
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.
LGTM, but want to test in my environment first.
ok |
When running TAF test, I found the |
@cherrycl That is expected. The essence of
@cherrycl not sure what this test case is. the Also, |
@cherrycl , I think the root cause may be that the TAF scripts are using Can't the TAF scripts just depend on |
@lenny-intel May we keep the current deploy steps? Recently security test got failure because of the following vault-worker error. We found this PR seems to fix the error. Is this PR ready to merge? I will investigate the starting all services at once on TAF later. |
recheck |
Yes, once it passes smoke tests.
Yes, that is fine. |
recheck |
Hi @cherrycl the taf tests still failed and probably due to the V2 DTO event stuff recently changed. Please update that and hopefully taf tests can all passed. |
@jim-wang-intel Ginny is helping with app-service failure.
Do you have any idea for the error? |
@jim-wang-intel The failed test for app-service is fixed by edgex-taf PR #282. |
recheck |
Hi @cherrycl yea, this is a defect in the current dockerfile of |
recheck |
1 similar comment
recheck |
@jim-wang-intel Thanks. The vault error was not found now, but kong appears a similar error and start fail.
|
@cherrycl This is a different type of error and very weird error. |
@cherrycl maybe the way TAF tests using |
@jim-wang-intel I got the same error when running |
recheck |
Docker-compose deploys with a new security-bootstrapper service which controls the security bootstrapping steps for various phases. The details are summarized in ADR secure bootstrapping. Add command env addition and command overrides for core-services Now the environment vars for security-stage-gate are in env file and overrides when necessary. Update asc-http-export-secure and asc-mqtt-export-secure to be gated by security-bootstrapper. Added common-sec-stage-gate.env description Updated some typos in the document Standardize the security-bootstrapper env file and naming of some docker containers eg vault-worker -> secretstore-setup, edgex-proxy -> proxy-setup Use the name common-sec-stage-gate.env as the env file for security-bootstrapper Fix the problem of missing common.env and env quotation Standardize the naming for appservice to app-service Closes: edgexfoundry#349, edgexfoundry#237 Signed-off-by: Jim Wang <[email protected]>
0012330
to
0cd276f
Compare
rebased and squashed. ready to merged once build done. |
Docker-compose deploys with a new security-bootstrapper service which controls the security bootstrapping steps for various phases.
The details are summarized in ADR secure bootstrapping.
Signed-off-by: Jim Wang [email protected]
PR Checklist
Please check if your PR fulfills the following requirements:
If your build fails due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/developer-scripts/blob/master/.github/Contributing.md.
What is the current behavior?
This is no security-bootstrapping service currently.
Issue Number: #349
What is the new behavior?
New security-bootstrapper service with service-gating mechanism in installation phase.
Does this PR introduce a breaking change?
Specific Instructions
Are there any specific instructions or things that should be known prior to reviewing?
In draft mode: this won't function properly until edgex-go's implementation PR merged into branch master
Other information
Pending until this PR resolving the ARM64 type of tests work. edgexfoundry/edgex-go#3082