From 9ea322d109280d9ce72062815538c6b4238f94ee Mon Sep 17 00:00:00 2001 From: Justin Santa Barbara Date: Tue, 28 Mar 2017 18:09:16 -0400 Subject: [PATCH] Add 127.0.0.1 to the IPs on the master apiserver --- pkg/model/pki.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/model/pki.go b/pkg/model/pki.go index 18a8108b54..890705ebb4 100644 --- a/pkg/model/pki.go +++ b/pkg/model/pki.go @@ -84,6 +84,9 @@ func (b *PKIModelBuilder) Build(c *fi.ModelBuilderContext) error { alternateNames = append(alternateNames, ip.String()) } + // We also want to be able to reference it locally via https://127.0.0.1 + alternateNames = append(alternateNames, "127.0.0.1") + t := &fitasks.Keypair{ Name: fi.String("master"), Subject: "cn=kubernetes-master",