Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cert error with Federation 1.7 on 1.6.4 clusters #45

Open
galo opened this issue Jun 5, 2017 · 0 comments
Open

Cert error with Federation 1.7 on 1.6.4 clusters #45

galo opened this issue Jun 5, 2017 · 0 comments

Comments

@galo
Copy link

galo commented Jun 5, 2017

I am getting this cert error when I try to deploy a locally built federation-controller-manager -
gcr.io/kubefed-galo/hyperkube-amd64:v1.7.0-alpha.3.18_20457ee68dac55

2017-06-05T17:57:41.260768442Z F0605 17:57:41.260640 1 controllermanager.go:134] Could not find resources from API Server: Get https://federation-apiserver:443/api: x509: certificate is valid for localhost, not federation-apiserver

All works fine when I use the images provided in this guide - gcr.io/google_containers/hyperkube-amd64:v1.6.2

This is kubeconfig for the API server

$cat kubeconfigs/federation-apiserver/kubeconfig
apiVersion: v1
clusters:

  • cluster:
    insecure-skip-tls-verify: true
    server: https://146.148.35.221
    name: federation-cluster
    contexts:
  • context:
    cluster: federation-cluster
    user: federation-cluster
    name: federation-cluster
    current-context: federation-cluster
    kind: Config
    preferences: {}
    users:
  • name: federation-cluster
    user:
    token: 820a362a6458279927ccf28a53d30b30

The clusters are all 1.6.4
$kubectl version
Client Version: version.Info{Major:"1", Minor:"6", GitVersion:"v1.6.4", GitCommit:"d6f433224538d4f9ca2f7ae19b252e6fcb66a3ae", GitTreeState:"clean", BuildDate:"2017-05-19T18:44:27Z", GoVersion:"go1.7.5", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"6", GitVersion:"v1.6.4", GitCommit:"d6f433224538d4f9ca2f7ae19b252e6fcb66a3ae", GitTreeState:"clean", BuildDate:"2017-05-19T18:33:17Z", GoVersion:"go1.7.5", Compiler:"gc", Platform:"linux/amd64"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant