Skip to content

Commit

Permalink
Revert kube2sky to use kubernetes-ro service until the dns-token is u…
Browse files Browse the repository at this point in the history
…pdated

to not use dns names.
  • Loading branch information
vishh committed May 15, 2015
1 parent c4fa785 commit 50522a2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cluster/addons/dns/kube2sky/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

.PHONY: all kube2sky container push clean

TAG = 1.4
TAG = 1.5
PREFIX = gcr.io/google_containers

all: container
Expand Down
2 changes: 1 addition & 1 deletion cluster/addons/dns/kube2sky/kube2sky.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ func newKubeClient() (*kclient.Client, error) {
var err error
if config, err = kclientcmd.NewNonInteractiveDeferredLoadingClientConfig(
&kclientcmd.ClientConfigLoadingRules{ExplicitPath: *argKubecfgFile},
&kclientcmd.ConfigOverrides{ClusterInfo: kclientcmdapi.Cluster{Server: masterUrl}}).ClientConfig(); err != nil {
&kclientcmd.ConfigOverrides{ClusterInfo: kclientcmdapi.Cluster{Server: masterUrl, InsecureSkipTLSVerify: true}}).ClientConfig(); err != nil {
return nil, err
}
}
Expand Down
2 changes: 1 addition & 1 deletion cluster/addons/dns/skydns-rc.yaml.in
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
- -initial-cluster-token
- skydns-etcd
- name: kube2sky
image: gcr.io/google_containers/kube2sky:1.4
image: gcr.io/google_containers/kube2sky:1.5
args:
# command = "/kube2sky"
- -domain={{ pillar['dns_domain'] }}
Expand Down

0 comments on commit 50522a2

Please sign in to comment.