Skip to content

Resolve needing to pin v0.34.4 k8s dependencies #369

@simontesar

Description

@simontesar

Some k8s dependencies are currently pinned to 0.34.4 because the terminatingworkspacesprovider is not able to watch resources with version 0.35.x and will just warn like this:

2026-02-26T05:28:37Z INF workspace/cmd/terminator.go:130 > starting manager logger=setup service=/go/pkg/mod/github.com/platform-mesh/golang-commons@v0.12.3/logger/logger.go v=0
2026-02-26T05:28:37Z INF go/pkg/mod/sigs.k8s.io/controller-runtime@v0.23.1/pkg/metrics/server/server.go:208 > Starting metrics server logger=controller-runtime/metrics service=/go/pkg/mod/github.com/platform-mesh/golang-commons@v0.12.3/logger/logger.go v=0
2026-02-26T05:28:37Z INF go/pkg/mod/sigs.k8s.io/controller-runtime@v0.23.1/pkg/metrics/server/server.go:247 > Serving metrics server bindAddress=:9090 logger=controller-runtime/metrics secure=false service=/go/pkg/mod/github.com/platform-mesh/golang-commons@v0.12.3/logger/logger.go v=0
2026-02-26T05:28:37Z INF go/pkg/mod/sigs.k8s.io/controller-runtime@v0.23.1/pkg/manager/server.go:83 > starting server addr=[::]:8090 name="health probe" service=/go/pkg/mod/github.com/platform-mesh/golang-commons@v0.12.3/logger/logger.go v=0
I0226 05:28:37.203634       1 leaderelection.go:258] "Attempting to acquire leader lease..." lock="platform-mesh-system/security-operator-terminator.platform-mesh.io"
I0226 05:29:03.616075       1 leaderelection.go:272] "Successfully acquired lease" lock="platform-mesh-system/security-operator-terminator.platform-mesh.io"
2026-02-26T05:29:03Z DBG go/pkg/mod/sigs.k8s.io/controller-runtime@v0.23.1/pkg/internal/recorder/recorder.go:116 > security-operator-terminator-7f4b95cfb9-7knf5_384686cf-2623-499f-b607-be66bddcf4b9 became leader logger=events object={"apiVersion":"coordination.k8s.io/v1","kind":"Lease","name":"security-operator-terminator.platform-mesh.io","namespace":"platform-mesh-system","resourceVersion":"31497","uid":"605ee9b9-977d-42ba-910d-86beed5dbb49"} reason=LeaderElection service=/go/pkg/mod/github.com/platform-mesh/golang-commons@v0.12.3/logger/logger.go type=Normal v=1
2026-02-26T05:29:03Z INF go/pkg/mod/sigs.k8s.io/controller-runtime@v0.23.1/pkg/internal/controller/controller.go:303 > Starting Controller controller=AccountLogicalCluster controllerGroup=core.kcp.io controllerKind=LogicalCluster service=/go/pkg/mod/github.com/platform-mesh/golang-commons@v0.12.3/logger/logger.go v=0
2026-02-26T05:29:03Z INF go/pkg/mod/sigs.k8s.io/controller-runtime@v0.23.1/pkg/internal/controller/controller.go:306 > Starting workers controller=AccountLogicalCluster controllerGroup=core.kcp.io controllerKind=LogicalCluster service=/go/pkg/mod/github.com/platform-mesh/golang-commons@v0.12.3/logger/logger.go v=0 worker count=1
2026-02-26T05:29:03Z INF go/pkg/mod/github.com/kcp-dev/multicluster-provider@v0.5.0/pkg/provider/factory.go:109 > starting factory logger=kcp-terminatingworkspaces-cluster-provider service=/go/pkg/mod/github.com/platform-mesh/golang-commons@v0.12.3/logger/logger.go v=0
2026-02-26T05:29:03Z INF go/pkg/mod/github.com/kcp-dev/multicluster-provider@v0.5.0/pkg/provider/factory.go:87 > detected new object logger=kcp-terminatingworkspaces-cluster-provider object={"metadata":{"annotations":{"kcp.io/cluster":"root","kcp.io/path":"root"},"creationTimestamp":"2026-02-26T04:39:41Z","generation":1,"managedFields":[{"apiVersion":"tenancy.kcp.io/v1alpha1","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:defaultAPIBindings":{},"f:initializer":{},"f:terminator":{}}},"manager":"platform-mesh-operator","operation":"Apply","time":"2026-02-26T04:39:41Z"},{"apiVersion":"tenancy.kcp.io/v1alpha1","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:conditions":{},"f:virtualWorkspaces":{}}},"manager":"kcp","operation":"Update","subresource":"status","time":"2026-02-26T04:39:41Z"}],"name":"security","resourceVersion":"566","uid":"d55976cd-dbe6-40ba-b1ed-c0e659a30c00"},"spec":{"defaultChildWorkspaceType":{"name":"universal","path":"root"},"extend":{},"initializer":true,"terminator":true},"status":{"conditions":[{"lastTransitionTime":"2026-02-26T04:39:41Z","status":"True","type":"Ready"},{"lastTransitionTime":"2026-02-26T04:39:41Z","status":"True","type":"VirtualWorkspaceURLsReady"}],"virtualWorkspaces":[{"type":"initializing","url":"https://localhost:8443/services/initializingworkspaces/root:security"},{"type":"terminating","url":"https://localhost:8443/services/terminatingworkspaces/root:security"}]}} service=/go/pkg/mod/github.com/platform-mesh/golang-commons@v0.12.3/logger/logger.go v=0
2026-02-26T05:29:13Z INF go/pkg/mod/github.com/kcp-dev/apimachinery/v2@v2.30.0/third_party/reflector/reflector.go:1110 > Warning: event bookmark expired err="pkg/mod/github.com/kcp-dev/apimachinery/v2@v2.30.0/third_party/reflector/reflector.go:247: awaiting required bookmark event for initial events stream, no events received for 10.007771053s" logger=controller-runtime/cache service=/go/pkg/mod/github.com/platform-mesh/golang-commons@v0.12.3/logger/logger.go v=0
2026-02-26T05:29:23Z INF go/pkg/mod/github.com/kcp-dev/apimachinery/v2@v2.30.0/third_party/reflector/reflector.go:1110 > Warning: event bookmark expired err="pkg/mod/github.com/kcp-dev/apimachinery/v2@v2.30.0/third_party/reflector/reflector.go:247: awaiting required bookmark event for initial events stream, no events received for 20.008524361s" logger=controller-runtime/cache service=/go/pkg/mod/github.com/platform-mesh/golang-commons@v0.12.3/logger/logger.go v=0
2026-02-26T05:29:33Z INF go/pkg/mod/github.com/kcp-dev/apimachinery/v2@v2.30.0/third_party/reflector/reflector.go:1110 > Warning: event bookmark expired err="pkg/mod/github.com/kcp-dev/apimachinery/v2@v2.30.0/third_party/reflector/reflector.go:247: awaiting required bookmark event for initial events stream, no events received for 30.008523176s" logger=controller-runtime/cache service=/go/pkg/mod/github.com/platform-mesh/golang-commons@v0.12.3/logger/logger.go v=0
2026-02-26T05:29:43Z INF go/pkg/mod/github.com/kcp-dev/apimachinery/v2@v2.30.0/third_party/reflector/reflector.go:1110 > Warning: event bookmark expired err="pkg/mod/github.com/kcp-dev/apimachinery/v2@v2.30.0/third_party/reflector/reflector.go:247: awaiting required bookmark event for initial events stream, no events received for 40.008027019s" logger=controller-runtime/cache service=/go/pkg/mod/github.com/platform-mesh/golang-commons@v0.12.3/logger/logger.go v=0

The issue needs to be investigated more thoroughly and fixed accordingly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions