pkg
pkg copied to clipboard
Toolkit common packages
The test coverage around git operations heavily relies on [gitkit](https://github.com/sosedoff/gitkit) for self-contained tests. For E2E tests we also rely on directly accessing SaaS providers (e.g. GitHub) to ensure that our...
Go 1.18 introduced multi-module worksapces (ref: https://go.dev/doc/tutorial/workspaces). We should investigate and adapt this repo to make use of this feature.
As a followup to #370, we need to add tests for `runtime/client/impersonator.go` by adapting the tests from [kustomization_impersonation_test](https://github.com/fluxcd/kustomize-controller/blob/main/controllers/kustomization_impersonation_test.go).
[Source-controller](https://github.com/fluxcd/source-controller/blob/20b26f235e11a9eb6e0784f2598aeffa63a81606/controllers/suite_test.go#L125) and [`pkg/oci`](https://github.com/fluxcd/pkg/blob/5b0ad92e9bd1774efca0e0afa228924ac53a3cc0/oci/client/suite_test.go#L43) both set up a registry server for tests. It would be great to have a package for this so it doesn't need to be set up in...
Since this is a monorepo, it contains a lot of different sub packages/modules. At the moment, we run tests in CI for _all_ packages regardless of which package is being...
Following up from refactoring the untar pkg, we could add a `.TarGzip` func to tar-gzip directories. > Can we add a TarGzip function that takes a directory and generates a...
This pull request returns the message from kstatus result. This message could helpful in figuring out why a resource might not be considered ready by kstatus. Signed-off-by: Somtochi Onyekwere
Commit pinned clones do not support the use of `LastRevision` to shortcirtuit the clone operation. This means, specially for libgit2, that full clones are executed, causing higher resource consumption. This...
GCP supports authenticating from different trusted identities. One possible authentication story is a user wants to auth from AWS against a GCloud Container Registry. Currently the [auth code](https://github.com/fluxcd/pkg/blob/main/oci/auth/gcp/auth.go) only supports...
We use fluxcd to implement gitops, one application corresponds to one yaml. In use, we found that kustomize-controller will perform dry-run verification on each yaml when executing manifest apply. Once...