mirror of https://github.com/kubernetes/kops.git
fix cert location
This commit is contained in:
parent
414b3a780b
commit
f5e3d434fb
|
@ -226,7 +226,7 @@ func (b *KubeAPIServerBuilder) writeAuthenticationConfig(c *fi.ModelBuilderConte
|
||||||
}
|
}
|
||||||
|
|
||||||
c.AddTask(&nodetasks.File{
|
c.AddTask(&nodetasks.File{
|
||||||
Path: "/srv/kubernetes/heptio-authenticator-aws/cert.pem",
|
Path: "/srv/kubernetes/aws-iam-authenticator/cert.pem",
|
||||||
Contents: fi.NewBytesResource(certificateData),
|
Contents: fi.NewBytesResource(certificateData),
|
||||||
Type: nodetasks.FileType_File,
|
Type: nodetasks.FileType_File,
|
||||||
Mode: fi.String("600"),
|
Mode: fi.String("600"),
|
||||||
|
@ -248,7 +248,7 @@ func (b *KubeAPIServerBuilder) writeAuthenticationConfig(c *fi.ModelBuilderConte
|
||||||
}
|
}
|
||||||
|
|
||||||
c.AddTask(&nodetasks.File{
|
c.AddTask(&nodetasks.File{
|
||||||
Path: "/srv/kubernetes/heptio-authenticator-aws/key.pem",
|
Path: "/srv/kubernetes/aws-iam-authenticator/key.pem",
|
||||||
Contents: fi.NewBytesResource(keyData),
|
Contents: fi.NewBytesResource(keyData),
|
||||||
Type: nodetasks.FileType_File,
|
Type: nodetasks.FileType_File,
|
||||||
Mode: fi.String("600"),
|
Mode: fi.String("600"),
|
||||||
|
|
Loading…
Reference in New Issue