mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-13 21:34:40 +03:00
UpCloud integration (#8653)
* [upcloud] add upcloud csi-driver * Option to use ansible_host as api ip for kubueconfig
This commit is contained in:
@@ -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 :
|
||||
|
||||
Reference in New Issue
Block a user