Skip to content

Commit

Permalink
update cert + key permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
mwangggg committed Apr 29, 2024
1 parent fccddc9 commit cc1397a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions smoketest.bash
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,8 @@ fi
createProxyCertsVolume() {
"${container_engine}" volume create auth_proxy_certs
"${container_engine}" container create --name proxy_certs_helper -v auth_proxy_certs:/certs busybox
chmod 777 "${DIR}/compose/auth_certs/private.key"
chmod 777 "${DIR}/compose/auth_certs/certificate.pem"
chmod 444 "${DIR}/compose/auth_certs/private.key"
chmod 444 "${DIR}/compose/auth_certs/certificate.pem"
"${container_engine}" cp "${DIR}/compose/auth_certs/certificate.pem" proxy_certs_helper:/certs/certificate.pem
"${container_engine}" cp "${DIR}/compose/auth_certs/private.key" proxy_certs_helper:/certs/private.key
}
Expand Down

0 comments on commit cc1397a

Please sign in to comment.