fix dbaas mysql operator and shlink [ci skip]

This commit is contained in:
viktorbarzin 2022-12-27 17:56:39 +02:00
parent 11dd413897
commit 54b3b578b1
2 changed files with 20 additions and 11 deletions

View file

@ -0,0 +1,7 @@
tls:
useSelfSigned: true
credentials:
root:
password: ${root_password}
user: root
serverInstances: 1

View file

@ -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"