fix: ca and tls dir should be absolute
This commit is contained in:
parent
9ba988f413
commit
54acc215ad
@ -251,7 +251,7 @@ func (ctx *renderContext) templateFuncs(secretData *SecretData, ctxMap map[strin
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
dir := path.Join("etc", "tls-ca", name)
|
dir := "/" + path.Join("etc", "tls-ca", name)
|
||||||
|
|
||||||
return asYaml([]config.FileDef{
|
return asYaml([]config.FileDef{
|
||||||
{
|
{
|
||||||
@ -304,7 +304,7 @@ func (ctx *renderContext) templateFuncs(secretData *SecretData, ctxMap map[strin
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
dir := path.Join("etc", "tls", name)
|
dir := "/" + path.Join("etc", "tls", name)
|
||||||
|
|
||||||
return asYaml([]config.FileDef{
|
return asYaml([]config.FileDef{
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user