fix: retain app registrations across refresh
This commit is contained in:
parent
66d42b6ca4
commit
7b1de17e5d
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue