set node name
This commit is contained in:
parent
688592f852
commit
8142261a2a
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
resource "rke_cluster" "cluster" {
|
resource "rke_cluster" "cluster" {
|
||||||
kubernetes_version = var.kubernetes_version
|
kubernetes_version = var.kubernetes_version
|
||||||
nodes {
|
nodes {
|
||||||
# no proper IP support for rke, yet
|
hostname_override = hcloud_server.k8s-single.name
|
||||||
address = hcloud_server.k8s-single.ipv4_address
|
address = hcloud_server.k8s-single.ipv4_address
|
||||||
user = "ansible"
|
user = "ansible"
|
||||||
role = ["controlplane", "worker", "etcd"]
|
role = ["controlplane", "worker", "etcd"]
|
||||||
|
|
Loading…
Reference in a new issue