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

A toolkit for building declarative operators with kubebuilder

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

Both the [walkthrough](https://github.com/kubernetes-sigs/kubebuilder-declarative-pattern/tree/master/docs/addon/walkthrough) found in this repo, and the [implementation](https://github.com/kubernetes-sigs/kubebuilder/tree/master/plugins/addon) found in https://github.com/kubernetes-sigs/kubebuilder are out of date. Addon should be implemented as a kubebuilder plugin that builds over the base...

lifecycle/frozen

This allows for management cluster scenarios, where the CRD is declared in a different cluster from the target.

cncf-cla: yes
do-not-merge/work-in-progress
needs-rebase
approved
size/L

**What this PR does / why we need it**: This PR add `x-kubernetes-preserve-unknown-fields: true` to `patches` key about CRD implementing `Patchable` interface. This PR use markers in kubebuilder for that....

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

**What happened**: Values of "spec.patches" in CR are pruned even if controller is set with `declarative.WithObjectTransform(addon.ApplyPatches)`. **What you expected to happen**: "spec.patches" values aren't pruned. **How to reproduce it (as...

kind/bug

size/XS
lgtm
cncf-cla: yes
do-not-merge/invalid-owners-file
do-not-merge/hold
approved

This helps keep the libraries up to date also.

cncf-cla: yes
size/S
needs-rebase
approved
lifecycle/stale

**What happened**: I enabled the option to use metrics: `declarative.WithReconcileMetrics(0, nil)` the controller manager pod silently crashed. Nothing helpful in the logs. **What you expected to happen**: Metrics being emitted....

kind/bug
lifecycle/rotten

**What happened**: pkg/test/mocks/manager.go isn't up to date with the controller-runtime package marked in go.mod **What you expected to happen**: pkg/test/mocks/manager.go.Manager should implement the controller-runtime Manager interface that it is supposed...

kind/bug
lifecycle/rotten

WIP and distinct from #377 as I imagine we will want more discussion e.g. about testing / how to turn it off/on etc. We've evolved a lot over time, and...

lifecycle/rotten
cncf-cla: yes
size/M
do-not-merge/work-in-progress
needs-rebase
approved

Setting up Watch() sometimes results in Watch() being a blocking call. Add a cancellable context that times out sooner when there is no activity in the Apply() path. Otherwise it...

cncf-cla: yes
size/M