Skip to content

Commit 3b8c66b

Browse files
chore(kubebuilder): update scaffold v4.13.0 -> v4.13.1 (valkey-io#125)
Fixes valkey-io#124 --------- Signed-off-by: Sandeep Kunusoth <sandeepkunsoth000@gmail.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 6b6047f commit 3b8c66b

7 files changed

Lines changed: 15 additions & 11 deletions

File tree

PROJECT

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# This file is used to track the info used to scaffold your project
33
# and allow the plugins properly work.
44
# More info: https://book.kubebuilder.io/reference/project-config.html
5-
cliVersion: 4.13.0
5+
cliVersion: 4.13.1
66
domain: valkey.io
77
layout:
88
- go.kubebuilder.io/v4

api/v1alpha1/groupversion_info.go

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,15 @@ import (
2525
)
2626

2727
var (
28-
// GroupVersion is group version used to register these objects.
29-
GroupVersion = schema.GroupVersion{Group: "valkey.io", Version: "v1alpha1"}
28+
// SchemeGroupVersion is group version used to register these objects.
29+
// This name is used by applyconfiguration generators (e.g. controller-gen).
30+
SchemeGroupVersion = schema.GroupVersion{Group: "valkey.io", Version: "v1alpha1"}
31+
32+
// GroupVersion is an alias for SchemeGroupVersion, for backward compatibility.
33+
GroupVersion = SchemeGroupVersion
3034

3135
// SchemeBuilder is used to add go types to the GroupVersionKind scheme.
32-
SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}
36+
SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
3337

3438
// AddToScheme adds the types in this group-version to the given scheme.
3539
AddToScheme = SchemeBuilder.AddToScheme

cmd/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ func main() {
123123

124124
// Metrics endpoint is enabled in 'config/default/kustomization.yaml'. The Metrics options configure the server.
125125
// More info:
126-
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.23.1/pkg/metrics/server
126+
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.23.3/pkg/metrics/server
127127
// - https://book.kubebuilder.io/reference/metrics.html
128128
metricsServerOptions := metricsserver.Options{
129129
BindAddress: metricsAddr,
@@ -135,7 +135,7 @@ func main() {
135135
// FilterProvider is used to protect the metrics endpoint with authn/authz.
136136
// These configurations ensure that only authorized users and service accounts
137137
// can access the metrics endpoint. The RBAC are configured in 'config/rbac/kustomization.yaml'. More info:
138-
// https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.23.1/pkg/metrics/filters#WithAuthenticationAndAuthorization
138+
// https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.23.3/pkg/metrics/filters#WithAuthenticationAndAuthorization
139139
metricsServerOptions.FilterProvider = filters.WithAuthenticationAndAuthorization
140140
}
141141

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ require (
1111
k8s.io/api v0.35.0
1212
k8s.io/apimachinery v0.35.0
1313
k8s.io/client-go v0.35.0
14-
sigs.k8s.io/controller-runtime v0.23.1
14+
sigs.k8s.io/controller-runtime v0.23.3
1515
)
1616

1717
require (

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,8 @@ k8s.io/utils v0.0.0-20251002143259-bc988d571ff4 h1:SjGebBtkBqHFOli+05xYbK8YF1Dzk
245245
k8s.io/utils v0.0.0-20251002143259-bc988d571ff4/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
246246
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.31.2 h1:jpcvIRr3GLoUoEKRkHKSmGjxb6lWwrBlJsXc+eUYQHM=
247247
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.31.2/go.mod h1:Ve9uj1L+deCXFrPOk1LpFXqTg7LCFzFso6PA48q/XZw=
248-
sigs.k8s.io/controller-runtime v0.23.1 h1:TjJSM80Nf43Mg21+RCy3J70aj/W6KyvDtOlpKf+PupE=
249-
sigs.k8s.io/controller-runtime v0.23.1/go.mod h1:B6COOxKptp+YaUT5q4l6LqUJTRpizbgf9KSRNdQGns0=
248+
sigs.k8s.io/controller-runtime v0.23.3 h1:VjB/vhoPoA9l1kEKZHBMnQF33tdCLQKJtydy4iqwZ80=
249+
sigs.k8s.io/controller-runtime v0.23.3/go.mod h1:B6COOxKptp+YaUT5q4l6LqUJTRpizbgf9KSRNdQGns0=
250250
sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 h1:IpInykpT6ceI+QxKBbEflcR5EXP7sU1kvOlxwZh5txg=
251251
sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730/go.mod h1:mdzfpAEoE6DHQEN0uh9ZbOCuHbLK5wOm7dK4ctXE9Tg=
252252
sigs.k8s.io/randfill v1.0.0 h1:JfjMILfT8A6RbawdsK2JXGBR5AQVfd+9TbzrlneTyrU=

internal/controller/valkeycluster_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ var scripts embed.FS
106106
// for periodic health checks.
107107
//
108108
// For more details, check Reconcile and its Result here:
109-
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.23.1/pkg/reconcile
109+
// - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.23.3/pkg/reconcile
110110
func (r *ValkeyClusterReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) {
111111
log := logf.FromContext(ctx)
112112
log.V(1).Info("reconcile...")

test/utils/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import (
3131
)
3232

3333
const (
34-
certmanagerVersion = "v1.19.4"
34+
certmanagerVersion = "v1.20.0"
3535
certmanagerURLTmpl = "https://github.com/cert-manager/cert-manager/releases/download/%s/cert-manager.yaml"
3636

3737
defaultKindBinary = "kind"

0 commit comments

Comments
 (0)