fix
This commit is contained in:
@@ -62,7 +62,10 @@ resource "kubectl_manifest" "dbgate-init" {
|
||||
labels: ${jsonencode(local.common-labels)}
|
||||
data:
|
||||
start.sh: |-
|
||||
[ -e /etc/local-ca/ca.crt ] && cat /etc/local-ca/ca.crt >> /etc/ssl/certs/ca-certificates.crt
|
||||
if [ -e /etc/local-ca/ca.crt ];then
|
||||
cp /etc/local-ca/ca.crt /usr/local/share/ca-certificates/
|
||||
update-ca-certificates
|
||||
fi
|
||||
exec /bin/su node -c /home/dbgate-docker/entrypoint.sh "$@"
|
||||
EOF
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user