applicationset icon indicating copy to clipboard operation
applicationset copied to clipboard

github.com/valyala/fasttemplate is no longer maintained

Open blkperl opened this issue 2 years ago • 2 comments

valyala/fasttemplate does not have a recent commit in the last 2 years and is only used in pkg/utils/util.go. We should investigate whether it can be replaced with the standard library text/template or a maintained alternative.

https://pkg.go.dev/text/template

blkperl avatar Feb 02 '22 04:02 blkperl

Looking forward to seeing what direction Workflows goes with this.

I'd like to add some more templating capabilities to ApplicationSet (in a backwards-compatible way). Maybe supporting text/template at the field level is the way to go.

crenshaw-dev avatar Feb 16 '22 19:02 crenshaw-dev

We have a use case where we need to generate an ApplicationSet which contains an existing deployed app. The deployed app can't be trivially redeployed (huge database) and currently there is no way to set the helm releaseName for just this one app in the ApplicationSet. Expanding the template capabilities would allow us to special case this one application for backwards compatibility for the clusters where it is already deployed, whilst keeping the correct releaseName for other apps and future clusters.

cydergoth avatar May 06 '22 15:05 cydergoth