fix: also save secret data in /static-pods
This commit is contained in:
parent
f348c9e94c
commit
7bb71d6da3
@ -142,6 +142,13 @@ func (ctx *renderContext) StaticPods() (ba []byte, err error) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if secretData.Changed() {
|
||||||
|
err = secretData.Save()
|
||||||
|
if err != nil {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
ba = buf.Bytes()
|
ba = buf.Bytes()
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user