Skip to content

Commit

Permalink
vSphere master control plane upgrade (kubernetes-sigs#294)
Browse files Browse the repository at this point in the history
* Annotate, ssh key permissions

* More verbose logging, bump image version.

* cuddle and logs

* small changed
  • Loading branch information
karan authored and k8s-ci-robot committed Jun 6, 2018
1 parent 4dffd31 commit 6cdd7e3
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions provider-components.yaml.template
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ spec:
cpu: 100m
memory: 30Mi
- name: vsphere-machine-controller
image: gcr.io/k8s-cluster-api/vsphere-machine-controller:0.0.7
image: gcr.io/k8s-cluster-api/vsphere-machine-controller:0.0.8
volumeMounts:
- name: config
mountPath: /etc/kubernetes
Expand Down Expand Up @@ -86,6 +86,7 @@ spec:
emptyDir: {}
- name: sshkeys
secret:
defaultMode: 0600
secretName: sshkeys
- name: named-machines
configMap:
Expand Down Expand Up @@ -255,19 +256,6 @@ data:
client_device = true
}

// Copy the private key over so the controller is able to ssh into the nodes.
provisioner "file" {
source = "~/.ssh/vsphere_tmp"
destination = "~/.ssh/id_rsa"

connection {
type = "ssh"
private_key = "${file("~/.ssh/vsphere_tmp")}"
user = "ubuntu"
agent = false
}
}

vapp {
properties {
hostname = "${var.vm_name}"
Expand Down

0 comments on commit 6cdd7e3

Please sign in to comment.