kubebuilder-declarative-pattern icon indicating copy to clipboard operation
kubebuilder-declarative-pattern copied to clipboard

A toolkit for building declarative operators with kubebuilder

Results 37 kubebuilder-declarative-pattern issues
Sort by recently updated
recently updated
newest added

Currently cluster scoped resources can be created, but they're not removed when the declarative object is deleted because no ownerref. Is it expected that user should remove them manually?

**What this PR does / why we need it**: This PR adds unit tests for direct applier in `direct.go`. `direct.go` doesn't have tests as far, we should add tests for...

sig/api-machinery
cncf-cla: yes
approved
size/L

The library already has the support for the kustomize but it has some limitations that It ONLY loads the folder that is specified in the `PackageName` variable and this made...

kind/feature

**What happened**: When my `Preflight` check fails, I get a panic in the `Reconciled` implementation that I'm using (`status.NewAggregator`). It panics on the `objs.Items` access. On a brief inspection, the...

kind/bug

**What this PR does / why we need it**: fix #209 **Special notes for your reviewer**: **Additional documentation**:

sig/api-machinery
lifecycle/rotten
needs-ok-to-test
cncf-cla: yes
size/M

sig/api-machinery
cncf-cla: yes
size/XL
needs-rebase
approved
lifecycle/stale

**What happened**: Using `WithApplyPrune` in the operator doesn't prune the objects in different namespaces. **What you expected to happen**: All objects in all namespaces with matching labels will be pruned....

kind/bug
lifecycle/stale

Per discussion in https://github.com/kubernetes-sigs/kubebuilder-declarative-pattern/pull/169 we should probably have versioning in our library and maintain a release branch. * This should make the library a little easier to consume * By...

kind/feature

**What happened**: 1. Controller is enabled `prune`, so that resources can be deleted automatically after they are not in manifests. 2. After annotating a resource with `addons.k8s.io/ignore=true`, this resource will...

kind/bug
lifecycle/stale

**What happened**: Consider a declarative reconciler set up like this: ```go func (r *MyReconciler) setupReconciler(mgr ctrl.Manager) (declarative.LabelMaker, error) { // ... return watchLabels, r.Reconciler.Init(mgr, &myapiv1.MyResource{}, // ... declarative.WithStatus(status.NewBasic(mgr.GetClient()), declarative.WithObjectTransform(myTransform), )...

kind/bug