also replace runtimedir for template paths in user mode

This commit is contained in:
Dominik Schneider (schnedo) 2025-07-28 14:50:22 +02:00 committed by Jörg Thalheim
parent ad2ae68ffc
commit 932e54d6ce

View file

@ -1286,6 +1286,12 @@ func installSecrets(args []string) error {
newSecrets = append(newSecrets, secret)
}
manifest.Secrets = newSecrets
var newTemplates []template
for _, template := range manifest.Templates {
template.Path = replaceRuntimeDir(template.Path, rundir)
newTemplates = append(newTemplates, template)
}
manifest.Templates = newTemplates
}
app := appContext{