Skip to content

Commit

Permalink
Use 443 until cluster-api is fixed (#77)
Browse files Browse the repository at this point in the history
Use 443 as the apiserver port until cluster-api allows us to set a
different port instead of hard-coding it:

kubernetes-sigs#64
  • Loading branch information
flaper87 committed Nov 29, 2018
1 parent b9c773d commit dbca404
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,15 @@ data:
systemctl restart kubelet.service

# Set up kubeadm config file to pass parameters to kubeadm init.
# We're using 443 until this bug is fixed
# https://github.com/kubernetes-sigs/cluster-api-provider-openstack/issues/64
cat > /etc/kubernetes/kubeadm_config.yaml <<EOF
apiVersion: kubeadm.k8s.io/v1alpha3
kind: InitConfiguration
bootstrapTokens:
- token: ${TOKEN}
apiEndpoint:
bindPort: 443
---
apiVersion: kubeadm.k8s.io/v1alpha3
kind: ClusterConfiguration
Expand Down

0 comments on commit dbca404

Please sign in to comment.