Skip to content
Snippets Groups Projects
Unverified Commit 141d71c3 authored by Stefan Prodan's avatar Stefan Prodan
Browse files

Use CrossNamespaceSourceReference for image automations

parent e9d6f271
Branches
Tags
No related merge requests found
......@@ -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,
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment