Skip to content

Commit 6dc4c6e

Browse files
authored
Merge pull request #114 from appuio/deps/exoscale-terraform-7.0.0
Update Exoscale Terraform module to v7.0.0
2 parents 779c2ac + d4ef38b commit 6dc4c6e

4 files changed

Lines changed: 24 additions & 2 deletions

File tree

class/defaults.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ parameters:
44
multi_tenant: false
55
=_tf_module_version:
66
cloudscale: v4.6.0
7-
exoscale: v6.1.0
7+
exoscale: v7.0.0
88
images:
99
terraform:
1010
image: registry.gitlab.com/gitlab-org/terraform-images/releases/terraform
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
= Upgrade Exoscale clusters to component version v9
2+
3+
When upgrading to component version v9 for Exoscale clusters, the following breaking change may require manual changes in the Project Syn config of existing clusters:
4+
5+
* https://github.com/appuio/terraform-openshift4-exoscale/pull/105[Switch infra nodes to non-instancepool by default]
6+
7+
IMPORTANT: The config changes outlined in this guide must be applied at the same time as the upgrade to component version v9.
8+
9+
TIP: We will publish a guide to migrate existing clusters to use instance pools in a future version of this component.
10+
11+
== Steps
12+
13+
. Get a clone of the tenant repo of the clusters that you want to upgrade to component version v9.
14+
15+
. Make sure component `openshift4-terraform` is updated to at least v9.0.0 so the variable `infra_use_instancepool` exists
16+
17+
. Set `parameters.openshift4_terraform.variables.infra_use_instancepool` to `true` for existing clusters which have been setup with instancepools for the worker and infra nodes.
18+
+
19+
TIP: The variable `infra_use_instancepool` has no effect for clusters which set variabl `use_instancepools` to `false`.
20+
21+
. Commit the changes

docs/modules/ROOT/partials/nav.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* xref:how-tos/upgrade-exoscale-v4-v5.adoc[Upgrade Exoscale clusters from component version v4 to v5]
1010
* xref:how-tos/upgrade-exoscale-to-v7.adoc[Upgrade Exoscale clusters to component version v7]
1111
* xref:how-tos/upgrade-exoscale-to-v8.adoc[Upgrade Exoscale clusters to component version v8]
12+
* xref:how-tos/upgrade-exoscale-to-v9.adoc[Upgrade Exoscale clusters to component version v9]
1213
* xref:how-tos/migrate-from-openshift4-cloudscale.adoc[Migrate from component `openshift4-cloudscale`]
1314
1415
.Technical reference

tests/golden/exoscale/openshift4-terraform/openshift4-terraform/main.tf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"ignition_ca": "SomeCertificateString",
1010
"region": "ch-dk-2",
1111
"rhcos_template": "my-iso-image",
12-
"source": "git::https://github.com/appuio/terraform-openshift4-exoscale.git//?ref=v6.1.0",
12+
"source": "git::https://github.com/appuio/terraform-openshift4-exoscale.git//?ref=v7.0.0",
1313
"ssh_key": "ssh-ed25519 AA..."
1414
}
1515
}

0 commit comments

Comments
 (0)