Merge pull request #2219 from justinsb/add_127001_for_master

Add 127.0.0.1 to the IPs on the master apiserver
This commit is contained in:
Justin Santa Barbara 2017-03-28 19:28:15 -04:00 committed by GitHub
commit 375c703606
1 changed files with 3 additions and 0 deletions

View File

@ -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",