mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-09 01:07:27 +00:00
Use CrossNamespaceSourceReference for image automations
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
parent
e9d6f271b5
commit
141d71c39d
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue