mirror of
https://gerrit.hackerspace.pl/hscloud
synced 2025-02-10 23:06:45 +00:00
cluster/prodaccess: use new kube CA cert
Change-Id: I1bff03008a4a212ad93e5eaa112adaa2b0cad3e7 Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1488 Reviewed-by: q3k <q3k@hackerspace.pl>
This commit is contained in:
parent
a4f8a459b9
commit
777aab92a9
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ func main() {
|
|||
}
|
||||
|
||||
cp := x509.NewCertPool()
|
||||
if ok := cp.AppendCertsFromPEM(certs.Data["ca-kube.crt"]); !ok {
|
||||
if ok := cp.AppendCertsFromPEM(certs.Data["ca-kube-new.crt"]); !ok {
|
||||
glog.Exitf("Could not load k8s CA")
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue