diff --git a/cmd/flux/create_image_update.go b/cmd/flux/create_image_update.go index 2adb562c..44c2f730 100644 --- a/cmd/flux/create_image_update.go +++ b/cmd/flux/create_image_update.go @@ -112,7 +112,7 @@ func createImageUpdateRun(cmd *cobra.Command, args []string) error { Labels: labels, }, Spec: autov1.ImageUpdateAutomationSpec{ - SourceRef: autov1.SourceReference{ + SourceRef: autov1.CrossNamespaceSourceReference{ Kind: sourcev1.GitRepositoryKind, Name: imageUpdateArgs.gitRepoRef, },