-
Notifications
You must be signed in to change notification settings - Fork 8
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
feat: read DB secrets and API key from vault #35
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
paullatzelsperger
force-pushed
the
feat/read_secrets_from_vault
branch
from
April 22, 2024 12:52
b2a3780
to
d353ac2
Compare
paullatzelsperger
force-pushed
the
feat/read_secrets_from_vault
branch
from
April 22, 2024 13:37
0006278
to
b387216
Compare
paullatzelsperger
force-pushed
the
feat/read_secrets_from_vault
branch
from
April 22, 2024 14:14
da3e1fd
to
8fbf381
Compare
evegufy
approved these changes
Apr 23, 2024
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 and tested successfully, could you please also release a new version?
2 tasks
paullatzelsperger
added a commit
that referenced
this pull request
Apr 25, 2024
* chore(build): adapt to latest upstream EDC * feat: add ingress example + tests (#28) * build(deps): bump aquasecurity/trivy-action from 0.18.0 to 0.19.0 (#26) Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.18.0 to 0.19.0. - [Release notes](https://github.com/aquasecurity/trivy-action/releases) - [Commits](aquasecurity/trivy-action@0.18.0...0.19.0) --- updated-dependencies: - dependency-name: aquasecurity/trivy-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump flyway from 10.10.0 to 10.11.0 (#27) Bumps `flyway` from 10.10.0 to 10.11.0. Updates `org.flywaydb:flyway-core` from 10.10.0 to 10.11.0 - [Release notes](https://github.com/flyway/flyway/releases) - [Commits](flyway/flyway@flyway-10.10.0...flyway-10.11.0) Updates `org.flywaydb:flyway-database-postgresql` from 10.10.0 to 10.11.0 --- updated-dependencies: - dependency-name: org.flywaydb:flyway-core dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.flywaydb:flyway-database-postgresql dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat: add Authorization header validation (#29) * feat: add auth service * checkstyle * DEPENDENCIES * update gradle task dependencies * expect 401 on directory ingress * DEPENDENCIES * chore: bump EDC to 0.6.1 * feat: add K8s ingress for Mgmt API (#33) * feat: read DB secrets and API key from vault (#35) * feat: read db config and api key from vault * helm docs, lint * DEPENDENCIES * separate vault deployment in test * wait for ready pods * add hashicorp rep * change readiness condition * change wait condition again * added comment [skip ci] * build(deps): bump azure/setup-helm from 3.5 to 4 (#30) Bumps [azure/setup-helm](https://github.com/azure/setup-helm) from 3.5 to 4. - [Release notes](https://github.com/azure/setup-helm/releases) - [Changelog](https://github.com/Azure/setup-helm/blob/main/CHANGELOG.md) - [Commits](Azure/setup-helm@v3.5...v4) --- updated-dependencies: - dependency-name: azure/setup-helm dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump azure/setup-kubectl from 3.2 to 4 (#31) Bumps [azure/setup-kubectl](https://github.com/azure/setup-kubectl) from 3.2 to 4. - [Release notes](https://github.com/azure/setup-kubectl/releases) - [Changelog](https://github.com/Azure/setup-kubectl/blob/main/CHANGELOG.md) - [Commits](Azure/setup-kubectl@v3.2...v4) --- updated-dependencies: - dependency-name: azure/setup-kubectl dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump checkmarx/kics-github-action from 1.6 to 2 (#36) Bumps [checkmarx/kics-github-action](https://github.com/checkmarx/kics-github-action) from 1.6 to 2. - [Release notes](https://github.com/checkmarx/kics-github-action/releases) - [Commits](Checkmarx/kics-github-action@v1.6...v2) --- updated-dependencies: - dependency-name: checkmarx/kics-github-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump flyway from 10.11.0 to 10.11.1 (#37) * build(deps): bump flyway from 10.11.0 to 10.11.1 Bumps `flyway` from 10.11.0 to 10.11.1. Updates `org.flywaydb:flyway-core` from 10.11.0 to 10.11.1 - [Release notes](https://github.com/flyway/flyway/releases) - [Commits](flyway/flyway@flyway-10.11.0...flyway-10.11.1) Updates `org.flywaydb:flyway-database-postgresql` from 10.11.0 to 10.11.1 --- updated-dependencies: - dependency-name: org.flywaydb:flyway-core dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.flywaydb:flyway-database-postgresql dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * DEPENDENCIES --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Paul Latzelsperger <[email protected]> * chore: pin EDC version to 0.6.2 * chore: add debug lines for auth * fix: use correct image in chart * Prepare release 0.0.3 --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: eclipse-tractusx-bot <[email protected]> Co-authored-by: Paul Latzelsperger <[email protected]> Co-authored-by: Paul Latzelsperger <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
WHAT
This PR adds several linked features:
Vault
instead of application config/env-varsVault
instead of the application config/env-vars, only the alias can be configured (default="mgmt-api-key")system-tests/helm/values-vault-test.yaml
) configures the vault accordinglyWHY
Security
FURTHER NOTES
0.6.2-SNAPSHOT
- we should pin the version again once a0.6.2
or a nightly is availableCloses # <-- insert Issue number if one exists