kubebuilder-declarative-pattern
kubebuilder-declarative-pattern copied to clipboard
A toolkit for building declarative operators with kubebuilder
**What happened**: I implemented a custom `declarative.Status` like this: ```go type myStatus {} func (myStatus) Preflight(ctx context.Context, o declarative.DeclarativeObject) error { // omitted: some precondition is not fulfilled // want...
This enables more reusability across tests.
This ensures that we don't reuse the discovery data from a previous run, if we happen to land on the same port etc.
**What this PR does / why we need it**: This PR copies the code of the declarative pattern plugin from [kubebuilder](https://github.com/kubernetes-sigs/kubebuilder) to kubebuilder-declarative-pattern, as part of the ongoing effort to...
For discussion, a WIP composite operator
**What would you like to be added**: I propose we make go-git an optional dependency, per https://github.com/GoogleCloudPlatform/k8s-config-connector/pull/1080 . I think we have seen that most controllers don't rely on go-git,...
**What would you like to be added**: This is a follow up based on the conversation in https://github.com/kubernetes-sigs/kubebuilder-declarative-pattern/pull/291#issuecomment-1381123158. With the introduction of Phase 2 (out-of-tree external plugins) in Kubebuilder, we...
This will fix the "annotation too long" problem when the managed manifests are too large. **What this PR does / why we need it**: **Which issue(s) this PR fixes**: Fixes...
This should enable us to add a module much more easily, because `go mod tidy` will work.