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 {
|
lifecycle {
|
||||||
# post_start {
|
post_start {
|
||||||
# exec {
|
exec {
|
||||||
# command = [
|
command = [
|
||||||
|
"postmap",
|
||||||
|
"/etc/postfix/sasl/passwd"
|
||||||
# "/bin/sh",
|
# "/bin/sh",
|
||||||
# "-c",
|
# "-c",
|
||||||
# "cp -f /tmp/user-patches.sh /tmp/docker-mailserver/user-patches.sh && chown root:root /var/log/mail && chmod 755 /var/log/mail",
|
# "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 {
|
volume_mount {
|
||||||
name = "config-tls"
|
name = "config-tls"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue