-
Notifications
You must be signed in to change notification settings - Fork 263
feat(security): Remove Vault dependency on Consul #350
feat(security): Remove Vault dependency on Consul #350
Conversation
f60b94e
to
c126316
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.
You need to run make build
so this change is propagated to the generated compose files.
Make sure to use docker-compose version 1.27.2
since newer versions have bug that generated depends_on
section incorrectly that results in our TAF tests failing.
Also move PR to draft until ADR is approved.
good catch. thanks!
ok, good to know.
sure. |
@jim-wang-intel , This change breaks the TAF smoke tests. Likely because the TAF scripts expect the consul line to be their when run |
recheck |
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
@cherrycl , can you look at the TAF smoke test failures on this PR? The PR just removes consul from Vault depends_on. THX! |
recheck |
@lenny-intel The smoke test #61 failure for this PR, because we changed the scripts to use Hanoi release build. We reverted the change after adding tag. Now it works fine. |
Thanks! |
Waiting on edgexfoundry/edgex-go#2886 before merge |
With the Vault's backend storage been changed to filesystem instead of Consul, will any longer depend on in the compose file. This together with edgex-go's change and edgex-consul's vault healthy check removal shall close the issue edgexfoundary/edgex-go/#2882 . Signed-off-by: Jim Wang <yutsung.jim.wang@intel.com>
Signed-off-by: Jim Wang <yutsung.jim.wang@intel.com>
17a340a
88a0374
to
17a340a
Compare
With the Vault's backend storage been changed to filesystem instead of Consul, will no longer depend on in the compose file.
This together with edgex-go's change and edgex-consul's vault healthy check removal shall close the issue edgexfoundry/edgex-go#2882 .
Signed-off-by: Jim Wang yutsung.jim.wang@intel.com
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?
Vault depends on Consul
Issue Number:
Fixes edgexfoundry/edgex-go#2882
What is the new behavior?
Vault will not depend on Consul directly
Does this PR introduce a breaking change?
Specific Instructions
Are there any specific instructions or things that should be known prior to reviewing?
Note: For this compose up working correctly, it requires the following two PRs merged into master first:
Other information
If tested locally, do the following steps:
edgex-go
:make docker
edgex-core-consul
docker image:make docker
compose-builder
sub-directory and domake gen dev
to generate the local version ofdocker-compose.yml
to runedgex-core-consul
docker image in the generated docker-compose file to point to the local built docker image above:docker-compose up
and all services should started up ok (can be checked and see usingdocker ps
and individual docker logs via portainer). Also it should be ok in the docker logsedgex-core-consul