Skip to content

Commit

Permalink
Added api-server cluster IP (10.32.0.1) to the certificate
Browse files Browse the repository at this point in the history
  • Loading branch information
ToroNZ committed Dec 28, 2017
1 parent 5926d31 commit 0cc8522
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/generate_certificates.sh
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ generate_certificates() {
-ca="${tmpdir}/ca.pem" \
-ca-key="${tmpdir}/ca-key.pem" \
-config="${CA_CONFIG_DIR}/config.json" \
-hostname="${internal_ips},${public_address},0.0.0.0,127.0.0.1,kubernetes.default" \
-hostname="10.32.0.1,${internal_ips},${public_address},0.0.0.0,127.0.0.1,kubernetes.default" \
-profile=kubernetes \
"${CA_CONFIG_DIR}/kubernetes-csr.json" | cfssljson -bare kubernetes

Expand Down

0 comments on commit 0cc8522

Please sign in to comment.