fix dbaas mysql operator and shlink [ci skip]
This commit is contained in:
parent
11dd413897
commit
54b3b578b1
2 changed files with 20 additions and 11 deletions
7
modules/kubernetes/dbaas/chart_values.tpl
Normal file
7
modules/kubernetes/dbaas/chart_values.tpl
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
tls:
|
||||
useSelfSigned: true
|
||||
credentials:
|
||||
root:
|
||||
password: ${root_password}
|
||||
user: root
|
||||
serverInstances: 1
|
||||
|
|
@ -154,17 +154,19 @@ resource "kubernetes_deployment" "mailserver" {
|
|||
}
|
||||
}
|
||||
|
||||
# lifecycle {
|
||||
# post_start {
|
||||
# exec {
|
||||
# command = [
|
||||
# "/bin/sh",
|
||||
# "-c",
|
||||
# "cp -f /tmp/user-patches.sh /tmp/docker-mailserver/user-patches.sh && chown root:root /var/log/mail && chmod 755 /var/log/mail",
|
||||
# ]
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
lifecycle {
|
||||
post_start {
|
||||
exec {
|
||||
command = [
|
||||
"postmap",
|
||||
"/etc/postfix/sasl/passwd"
|
||||
# "/bin/sh",
|
||||
# "-c",
|
||||
# "cp -f /tmp/user-patches.sh /tmp/docker-mailserver/user-patches.sh && chown root:root /var/log/mail && chmod 755 /var/log/mail",
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
volume_mount {
|
||||
name = "config-tls"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue