UpCloud integration (#8653)

* [upcloud] add upcloud csi-driver

* Option to use ansible_host as api ip for kubueconfig
This commit is contained in:
Robin Wallace
2022-04-12 00:13:23 +02:00
committed by GitHub
parent 9dced7133c
commit d7254eead6
18 changed files with 565 additions and 0 deletions

View File

@@ -65,6 +65,11 @@ resource "upcloud_server" "master" {
network = upcloud_network.private.id
}
# Ignore volumes created by csi-driver
lifecycle {
ignore_changes = [storage_devices]
}
dynamic "storage_devices" {
for_each = {
for disk_key_name, disk in upcloud_storage.additional_disks :
@@ -114,6 +119,11 @@ resource "upcloud_server" "worker" {
network = upcloud_network.private.id
}
# Ignore volumes created by csi-driver
lifecycle {
ignore_changes = [storage_devices]
}
dynamic "storage_devices" {
for_each = {
for disk_key_name, disk in upcloud_storage.additional_disks :