diff options
| author | sribiere-jellysmack <159423226+sribiere-jellysmack@users.noreply.github.com> | 2024-07-11 05:19:56 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-10 23:19:56 -0400 |
| commit | 80d2731d1335e7ae860cd810f7403f43379f7998 (patch) | |
| tree | 4db385dcce4d923e1c33c6153e7d9bb8d86e0a29 /pkg/common/constants.go | |
| parent | 5edb9d003efdb54501d4e6f31f877670e39d06d6 (diff) | |
feat: Support other namespaces than argocd in AIU (#763)
Signed-off-by: Sebastien RIBIERE <sebastien.ribiere.ext@jellysmack.com>
Signed-off-by: Cheng Fang <cfang@redhat.com>
Signed-off-by: Mangaal <angommeeteimangaal@gmail.com>
Signed-off-by: jannfis <jann@mistrust.net>
Co-authored-by: Cheng Fang <cfang@redhat.com>
Co-authored-by: Mangaal <44372157+Mangaal@users.noreply.github.com>
Co-authored-by: Jann Fischer <jann@mistrust.net>
Diffstat (limited to 'pkg/common/constants.go')
| -rw-r--r-- | pkg/common/constants.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/common/constants.go b/pkg/common/constants.go index 18cf880..581cd54 100644 --- a/pkg/common/constants.go +++ b/pkg/common/constants.go @@ -57,7 +57,8 @@ const ( ) // DefaultTargetFilePattern configurations related to the write-back functionality -const DefaultTargetFilePattern = ".argocd-source-%s.yaml" +const DefaultTargetFilePattern = ".argocd-source-%s_%s.yaml" +const DefaultTargetFilePatternWithoutNamespace = ".argocd-source-%s.yaml" const DefaultHelmValuesFilename = "values.yaml" // The default Git commit message's template |
