Skip to content

Commit 6b42861

Browse files
fix(deps): pointer to meta.SecretKeyReference
1 parent 2205e6f commit 6b42861

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/utils/rcontext/rcontext.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ type fluxKubeconfigKey struct{}
2828

2929
func WithFluxKubeconfigRef(ctx context.Context, ref *corev1.SecretReference) context.Context {
3030
return context.WithValue(ctx, fluxKubeconfigKey{}, &meta.KubeConfigReference{
31-
SecretRef: meta.SecretKeyReference{
31+
SecretRef: &meta.SecretKeyReference{
3232
Name: ref.Name,
3333
Key: "kubeconfig",
3434
},

0 commit comments

Comments
 (0)