fix dbaas mysql operator and shlink [ci skip]
This commit is contained in:
parent
70cc0f6b26
commit
ab0d747063
6 changed files with 61 additions and 121 deletions
|
|
@ -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