fix: also save secret data in /static-pods

This commit is contained in:
Mikaël Cluseau 2018-06-20 14:09:31 +11:00
parent f348c9e94c
commit 7bb71d6da3

View File

@ -142,6 +142,13 @@ func (ctx *renderContext) StaticPods() (ba []byte, err error) {
return
}
if secretData.Changed() {
err = secretData.Save()
if err != nil {
return
}
}
ba = buf.Bytes()
return
}