feat: k8s informer for ServiceAdapter CRDs, bump CI to go1.26
Build and push / Build and push image (push) Successful in 2m7s
Build / Build and push image (push) Successful in 1m9s
CI / Test, vet, build (push) Successful in 4m10s

- Add dynamic-client informer to watch ServiceAdapter CRs in-cluster
- Remove typed scheme registration (dynamic client needs no DeepCopy)
- Bump Dockerfile + CI images from golang:1.25 to golang:1.26
  (k8s.io/[email protected] requires go>=1.26)
- Wire informer into main.go startup with graceful fallback
This commit is contained in:
Admin Bot
2026-08-26 14:38:12 -07:00
parent 0cdfae2a93
commit eaeeb97b2a
9 changed files with 380 additions and 74 deletions
+1 -8
View File
@@ -21,16 +21,9 @@ package v1
import (
"k8s.io/apimachinery/pkg/runtime/schema"
"sigs.k8s.io/controller-runtime/pkg/scheme"
)
var (
// GroupVersion is group version used to register these objects
// GroupVersion is group version used to register these objects.
GroupVersion = schema.GroupVersion{Group: "gateway.riotpiao.com", Version: "v1"}
// SchemeBuilder is used to add go types to the GroupVersionKind scheme
SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}
// AddToScheme adds the types in this group-version to the given scheme.
AddToScheme = SchemeBuilder.AddToScheme
)