diff --git a/CHANGELOG.md b/CHANGELOG.md index 5217710..39be396 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,6 +29,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - Sentinel now paginates API responses, fetching all resources instead of only the first page (default size 20). Environments with more than 20 clusters/nodepools were missing reconciliation events. +- Migrated CEL dependency from `github.com/google/cel-go` to its renamed module path `cel.dev/cel-go` (v0.32.0), unblocking Renovate dependency-update PRs that were failing `go get -t ./...` ### Security diff --git a/go.mod b/go.mod index 636145c..1454a41 100755 --- a/go.mod +++ b/go.mod @@ -3,6 +3,7 @@ module github.com/openshift-hyperfleet/hyperfleet-sentinel go 1.26.0 require ( + cel.dev/cel-go v0.32.0 github.com/cenkalti/backoff/v5 v5.0.3 github.com/cloudevents/sdk-go/v2 v2.16.2 github.com/google/uuid v1.6.0 @@ -70,7 +71,6 @@ require ( github.com/go-logr/stdr v1.2.2 // indirect github.com/go-ole/go-ole v1.3.0 // indirect github.com/go-viper/mapstructure/v2 v2.5.0 // indirect - github.com/google/cel-go v0.31.0 github.com/google/s2a-go v0.1.9 // indirect github.com/googleapis/enterprise-certificate-proxy v0.3.18 // indirect github.com/googleapis/gax-go/v2 v2.22.0 // indirect diff --git a/go.sum b/go.sum index 7a8d6a5..019e70a 100755 --- a/go.sum +++ b/go.sum @@ -1,3 +1,5 @@ +cel.dev/cel-go v0.32.0 h1:irvpFKr5EuGPyxeME03ERh0rii1TX+BDAnB9eL3IvNk= +cel.dev/cel-go v0.32.0/go.mod h1:DnVip7tpJSsgZymwfT+m1tnEVy3ivAjSMXPx12YrMkU= cel.dev/expr v0.25.2 h1:K6j46C81hXtZQfuX60cVWQFBJahKSE2gfRbNuvr5bFs= cel.dev/expr v0.25.2/go.mod h1:hrXvqGP6G6gyx8UAHSHJ5RGk//1Oj5nXQ2NI02Nrsg4= cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= @@ -117,8 +119,6 @@ github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QD github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek= github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps= -github.com/google/cel-go v0.31.0 h1:H0bhpFTqOvmHrBGrWKp7ZlhBm5Hh8PYUEXnwxT1LL7A= -github.com/google/cel-go v0.31.0/go.mod h1:X0bD6iVNR8pkROSOoHVdgTkzmRcosof7WQqCD6wcMc8= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= diff --git a/internal/engine/decision.go b/internal/engine/decision.go index c5fbd69..e2491b4 100644 --- a/internal/engine/decision.go +++ b/internal/engine/decision.go @@ -5,10 +5,10 @@ import ( "sync" "time" - "github.com/google/cel-go/cel" - "github.com/google/cel-go/common/types" - "github.com/google/cel-go/common/types/ref" - "github.com/google/cel-go/ext" + "cel.dev/cel-go/cel" + "cel.dev/cel-go/common/types" + "cel.dev/cel-go/common/types/ref" + "cel.dev/cel-go/ext" "github.com/openshift-hyperfleet/hyperfleet-sentinel/internal/client" "github.com/openshift-hyperfleet/hyperfleet-sentinel/internal/config" ) diff --git a/internal/payload/builder.go b/internal/payload/builder.go index 331f244..edcb201 100644 --- a/internal/payload/builder.go +++ b/internal/payload/builder.go @@ -5,7 +5,7 @@ import ( "fmt" "log/slog" - "github.com/google/cel-go/cel" + "cel.dev/cel-go/cel" "github.com/openshift-hyperfleet/hyperfleet-sentinel/internal/client" )