fix: retain app registrations across refresh

This commit is contained in:
eding 2026-09-13 13:55:02 +02:00
parent 66d42b6ca4
commit 7b1de17e5d

View file

@ -480,7 +480,7 @@ func renderPlatformDeliveryConfig(dir string, cfg config.Config) error {
func copyAndRenderPlatformDeliveryBases(templateDir, repoDir string, cfg config.Config) error {
bases := []string{"gateway", "tekton", "tekton-triggers"}
apps := filepath.Join(repoDir, "base", "tekton", "apps")
backup := apps + ".maidn-preserve"
backup := filepath.Join(repoDir, ".maidn-preserve-tekton-apps")
if err := os.RemoveAll(backup); err != nil {
return err
}