Skip to content
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.

ibm cloud support #656

Merged
merged 20 commits into from
Mar 27, 2021
Merged

ibm cloud support #656

merged 20 commits into from
Mar 27, 2021

Conversation

No9
Copy link
Contributor

@No9 No9 commented Mar 14, 2021

Hi All
Thanks for providing a such a well laid out project it's been a pleasure to work on.
This PR adds support to integrate the secrets manager service on IBM Cloud with Kubernetes.
It largely consists of a new backend that follows the AliCloud environment variables pattern along with the relevant enum updates.
As well as the backend mock test I have also tested it on an IKS instance and everything works as expected.
Hopefully I haven't missed anything too obvious and I'd appreciate any feedback.

@Flydiverny
Copy link
Member

Cool! I'll try to find some time to look thru this :)

pierluigilenoci and others added 11 commits March 18, 2021 02:16
…kage (external-secrets#661)

* chore(deps): bump lodash 4.17.19 -> 4.17.21

Signed-off-by: Markus Maga <[email protected]>

* chore(deps): drop individual lodash packages in favor of lodash package

Signed-off-by: Markus Maga <[email protected]>
…xternal-secrets#665)

* feat: build container in ci

Signed-off-by: Markus Maga <[email protected]>

* chore: add dependabot config

Signed-off-by: Markus Maga <[email protected]>
…-client (external-secrets#664)

* fix: use getObjectStream to address deprecation warning in kubernetes-client

Signed-off-by: Markus Maga <[email protected]>

* fix: end stream normally and update tests

Signed-off-by: Markus Maga <[email protected]>

* fix: mock stream end

Signed-off-by: Markus Maga <[email protected]>
…crets#672)

* chore: only try to push to GHCR if credentials available

* chore: set the env

* chore: properly set push
…ernal-secrets#670)

Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.0.7 to 0.0.12.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](aquasecurity/trivy-action@0.0.7...c6431cf)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Copy link
Member

@Flydiverny Flydiverny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While I have no way to test this, I dont see anything strange :)

package-lock has got a conflict due to another PR merge. could you rebase and possibly bump the added dependency or was there a reason to not using the latest version? (its pretty recent so maybe you did this before it was available 😄)

package.json Outdated
@@ -35,6 +35,7 @@
"@azure/identity": "^1.0.3",
"@azure/keyvault-secrets": "^4.0.4",
"@google-cloud/secret-manager": "^3.2.3",
"@ibm-cloud/secrets-manager": "^0.0.6",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a newer version 0.1.0 is no available, might be worth bumping? 😄

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll take a look at bumping this and test it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So it looks like 0.1.0 release hasn't made it into npm yet so this can't land yet.
We should get it in so I'll follow up with @IdanAdar to see when it will land in the registry.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Published.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @Flydiverny Patch applied but the container has CVEs do I need to fix this?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@No9 thanks for the update, no need to address the CVE. I was looking at it earlier and there's a fix out already. But it seems our pipeline is pulling an old base image.

Flydiverny and others added 7 commits March 23, 2021 00:53
…ets#671)

Bumps [actions/setup-node](https://github.com/actions/setup-node) from v1 to v2.1.5.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](actions/setup-node@v1...46071b5)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…ternal-secrets#674)

Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.0.12 to 0.0.13.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](aquasecurity/trivy-action@0.0.12...e2054f8)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@Flydiverny Flydiverny merged commit 8ff9490 into external-secrets:master Mar 27, 2021
@No9
Copy link
Contributor Author

No9 commented Mar 28, 2021

Thanks for the merge and pushing this through @Flydiverny I
FYI had to bump the image version to master in the values.yml file as the versioned image isn't released yet but everything works as expected.

@Flydiverny
Copy link
Member

Yepp! Was considering to add some more changes to next release but I'll probably try to make one today or tomorrow.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants