Skip to content

Commit

Permalink
Rancher v 2.0.3 rc1
Browse files Browse the repository at this point in the history
  • Loading branch information
insekticid committed Jun 20, 2018
1 parent 4c103c9 commit 12a5335
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .env.dist
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
#copy this file to .env file
TF_VAR_hcloud_token=xxx
TF_VAR_docker_version="17"
TF_VAR_rancher_version="v2.0.2"
TF_VAR_rancher_version="v2.0.3-rc1"
TF_VAR_ssh_key_name="[email protected]"
TF_VAR_ssh_public_key="~/.ssh/id_ed25519.pub"
TF_VAR_ssh_private_key="~/.ssh/id_ed25519"
TF_VAR_rancher_password="admin"
TF_VAR_rancher_cluster_name="playground"
#https://github.com/rancher/hyperkube/releases
TF_VAR_rancher_kubernetes_version="v1.10.3-rancher2"
TF_VAR_acme_domain="example.com"
2 changes: 1 addition & 1 deletion terraform/01_main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ resource "hcloud_server" "k8s" {

provisioner "remote-exec" {
inline = [
"RANCHER_SERVER_ADDRESS=${hcloud_server.k8s.0.ipv4_address} RANCHER_PASSWORD=${var.rancher_password} RANCHER_CLUSTER_NAME=${var.rancher_cluster_name} bash /root/rancher_change_password.sh",
"RANCHER_SERVER_ADDRESS=${hcloud_server.k8s.0.ipv4_address} RANCHER_PASSWORD=${var.rancher_password} RANCHER_KUBERNETES_VERSION=${var.rancher_kubernetes_version} RANCHER_CLUSTER_NAME=${var.rancher_cluster_name} bash /root/rancher_change_password.sh",
]
}
}
Expand Down
8 changes: 6 additions & 2 deletions terraform/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ variable "rancher_password" {
}

variable "rancher_version" {
default = "v2.0.2"
default = "v2.0.3-rc1"
}

variable "acme_domain" {
Expand All @@ -32,4 +32,8 @@ variable "acme_domain" {

variable "rancher_cluster_name" {
default = "playground"
}
}

variable "rancher_kubernetes_version" {
default = "v1.10.3-rancher2"
}

0 comments on commit 12a5335

Please sign in to comment.