@@ -478,6 +478,7 @@ def generate_argocd_config(
478478 project : str = "default" ,
479479 auto_sync : bool = False ,
480480 rollouts : bool = False ,
481+ allow_any_source_repo : bool = False ,
481482 image : str = "ghcr.io/myorg/my-app" ,
482483) -> str :
483484 """
@@ -493,6 +494,7 @@ def generate_argocd_config(
493494 project: ArgoCD project name.
494495 auto_sync: Enable ArgoCD automated sync (prune + self-heal).
495496 rollouts: Add an Argo Rollouts canary Rollout resource.
497+ allow_any_source_repo: Allow AppProject sourceRepos wildcard ('*').
496498 image: Container image for Flux image automation.
497499
498500 Returns:
@@ -504,7 +506,8 @@ def generate_argocd_config(
504506 args = argparse .Namespace (
505507 name = name , method = method , repo = repo , revision = revision , path = path ,
506508 namespace = namespace , project = project , auto_sync = auto_sync ,
507- rollouts = rollouts , image = image , output_dir = "." , custom_values = None ,
509+ rollouts = rollouts , allow_any_source_repo = allow_any_source_repo ,
510+ image = image , output_dir = "." , custom_values = None ,
508511 server = "https://kubernetes.default.svc" ,
509512 )
510513
0 commit comments