Skip to content

fix!: rewrite the deployment system#101

Merged
matttrach merged 1 commit into
rancher:mainfrom
matttrach:new-deploy-method
Jun 26, 2025
Merged

fix!: rewrite the deployment system#101
matttrach merged 1 commit into
rancher:mainfrom
matttrach:new-deploy-method

Conversation

@matttrach
Copy link
Copy Markdown
Collaborator

In this addition I am rewriting and formalizing the process to orchestrate multiple Terraform subprocesses.
The new Deploy submodule allows us to deploy Terraform in a subprocess, then save the subprocess's files in the root state.
Using the new Persist_file submodule, if the files in the substates don't exist they will be regenerated on the next apply. This lays the groundwork for using a remote state in an ephemeral environment (eg. a CI) to continuously deploy infrastructure.

Signed-off-by: matttrach <matt.trachier@suse.com>
@matttrach matttrach self-assigned this Jun 26, 2025
@matttrach matttrach requested a review from a team as a code owner June 26, 2025 01:46
@matttrach
Copy link
Copy Markdown
Collaborator Author

I also added an example/test named "Three" which is based on a use case I got from feedback. This deploys three nodes with all roles then installs Helm and Rancher from their Helm charts. The result is an HA Rancher cluster with a minimal number of nodes.

@matttrach
Copy link
Copy Markdown
Collaborator Author

I also updated the default Rancher version to 2.11 and the default Cert Manager version to 1.18.1

@matttrach matttrach merged commit 60b1eaa into rancher:main Jun 26, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants