Skip to content

Commit 3538c22

Browse files
committed
Allow write-back to git helm
1 parent 7d93c7a commit 3538c22

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkg/argocd/argocd.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -552,6 +552,9 @@ func getApplicationSourceType(app *v1alpha1.Application) v1alpha1.ApplicationSou
552552
if st, set := app.Annotations[common.WriteBackTargetAnnotation]; set &&
553553
strings.HasPrefix(st, common.KustomizationPrefix) {
554554
return v1alpha1.ApplicationSourceTypeKustomize
555+
} else if st, set := app.Annotations[common.WriteBackTargetAnnotation]; set &&
556+
strings.HasPrefix(st, common.HelmPrefix) {
557+
return v1alpha1.ApplicationSourceTypeHelm
555558
}
556559

557560
if app.Spec.HasMultipleSources() {

0 commit comments

Comments
 (0)