Skip to content
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

Add cofidectl-test-plugin and a CI test that exercises it #79

Open
wants to merge 18 commits into
base: issues/56
Choose a base branch
from

Conversation

markgoddard
Copy link
Contributor

@markgoddard markgoddard commented Dec 11, 2024

  • Support specifying data source and provision plugins in init command

  • Refactor data source plugin into a datasource package
    This provides a cleaner separation between the different plugin types
    now that we have multiple types of plugins (since adding provision
    plugins).

  • Add cofidectl-test-plugin
    This gRPC plugin implements data source and provision plugins using the
    default local and spire-helm plugins respectively.

    It allows for integration testing of the gRPC plugin mechanism.

  • Add a CI test that uses cofidectl-test-plugin in the federation scenario

Fixes: #4

@markgoddard markgoddard self-assigned this Dec 11, 2024
@markgoddard markgoddard added this to the release-0.8.0 milestone Dec 11, 2024
This provides a cleaner separation between the different plugin types
now that we have multiple types of plugins (since adding provision
plugins).
This gRPC plugin implements data source and provision plugins using the
default local and spire-helm plugins respectively.

It allows for integration testing of the gRPC plugin mechanism.

Fixes: #4
markgoddard and others added 14 commits December 13, 2024 10:10
Bumps [github.com/spiffe/spire-api-sdk](https://github.com/spiffe/spire-api-sdk) from 1.11.0 to 1.11.1.
- [Commits](spiffe/spire-api-sdk@v1.11.0...v1.11.1)

---
updated-dependencies:
- dependency-name: github.com/spiffe/spire-api-sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [buf.build/go/protoyaml](https://github.com/bufbuild/protoyaml-go) from 0.2.0 to 0.3.0.
- [Release notes](https://github.com/bufbuild/protoyaml-go/releases)
- [Commits](bufbuild/protoyaml-go@v0.2.0...v0.3.0)

---
updated-dependencies:
- dependency-name: buf.build/go/protoyaml
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
…piffe/spire-api-sdk-1.11.1

Bump github.com/spiffe/spire-api-sdk from 1.11.0 to 1.11.1
…/protoyaml-0.3.0

Bump buf.build/go/protoyaml from 0.2.0 to 0.3.0
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.68.1 to 1.69.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.68.1...v1.69.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
…g.org/grpc-1.69.0

Bump google.golang.org/grpc from 1.68.1 to 1.69.0
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.31.3 to 0.32.0.
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
- [Commits](kubernetes/client-go@v0.31.3...v0.32.0)

---
updated-dependencies:
- dependency-name: k8s.io/client-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
This is the result of 'go mod tidy' after bumping k8s client-go to 0.32.0.
…t-go-0.32.0

Bump k8s.io/client-go from 0.31.3 to 0.32.0
This works better with 'go mod tidy' and avoids it creating new require sections.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a gRPC data source plugin for testing that uses the local config.yaml data source
2 participants