mirror of
https://github.com/fluxcd/flux2.git
synced 2026-04-21 11:05:44 +00:00
Update to controller-runtime 0.7.0
controller-runtime methods now accept `client.Object` and `client.ObjectList` rather than `runtime.Object`. This means the adapter interfaces need to change signature, but happily, little else. Since the list adapter is now distinct to the object adapter, `len()` can go there instead of the command-specific interfaces. Signed-off-by: Michael Bridgen <michael@weave.works>
This commit is contained in:
parent
b30ef523f8
commit
d03280a12f
6 changed files with 75 additions and 19 deletions
2
go.mod
2
go.mod
|
|
@ -24,7 +24,7 @@ require (
|
|||
k8s.io/apiextensions-apiserver v0.19.4
|
||||
k8s.io/apimachinery v0.19.4
|
||||
k8s.io/client-go v0.19.4
|
||||
sigs.k8s.io/controller-runtime v0.6.4
|
||||
sigs.k8s.io/controller-runtime v0.7.0
|
||||
sigs.k8s.io/kustomize/api v0.7.0
|
||||
sigs.k8s.io/yaml v1.2.0
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue