Skip to content

Conversation

@garyloug
Copy link
Contributor

Description

Please include a summary of the changes and the related issue. List any dependencies that are required for this change.

Fixes # (issue)

Any Newly Introduced Dependencies

Please describe any newly introduced 3rd party dependencies in this change. List their name, license information and how they are used in the project.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Checklist:

  • I agree to use the APACHE-2.0 license for my code changes
  • I have not introduced any 3rd party dependency changes
  • I have performed a self-review of my code

@garyloug garyloug force-pushed the pre-installer_installer branch from cd7e5fd to 32d1a6a Compare October 28, 2025 15:07
Move AWS-specific queries, EFS file system ID and load balancer target
group ARN, from configure-cluster.sh to provision.sh

- Add efs_file_system_id to output.tf
- Export FILE_SYSTEM_ID to ~/.env after cluster apply
- Export target group ARNs to ~/.env after loadbalancer apply
- Update configure-cluster.sh to read these from ~/.env
Replace get_s3_prefix() terraform query with variable export to remove
dependency on terraform in the installer.

- Add s3_prefix to output.tf
- Export S3_PREFIX to ~/.env after cluster apply in provision.sh
- Replace get_s3_prefix with env var read in configure-cluster.sh
Remove update_kube_config from installer script configure-cluster.sh
This function calls "aws eks update-kubeconfig". However, the
pre-installer script provision.sh calls a function called
connect_cluster. This connect_cluster function also calls "aws eks
update-kubeconfig".

The call in the installer appears redundant, so it is removed to remove
AWS dependency from the installer.

Added new script reconnect-aws-cluster.sh for the usecase where a user
might be running pre-installer and installer in different shell
sessions.
- Add 7 TF outputs to output.tf
- Export these values to ~/.env in provision.sh
- Remove load_provision_values call from configure-cluster.sh
Move AWS-specific queries, EFS file system ID and load balancer target
group ARN, from configure-cluster.sh to provision.sh

- Add efs_file_system_id to output.tf
- Export FILE_SYSTEM_ID to ~/.env after cluster apply
- Export target group ARNs to ~/.env after loadbalancer apply
- Update configure-cluster.sh to read these from ~/.env
Replace get_s3_prefix() terraform query with variable export to remove
dependency on terraform in the installer.

- Add s3_prefix to output.tf
- Export S3_PREFIX to ~/.env after cluster apply in provision.sh
- Replace get_s3_prefix with env var read in configure-cluster.sh
Remove update_kube_config from installer script configure-cluster.sh
This function calls "aws eks update-kubeconfig". However, the
pre-installer script provision.sh calls a function called
connect_cluster. This connect_cluster function also calls "aws eks
update-kubeconfig".

The call in the installer appears redundant, so it is removed to remove
AWS dependency from the installer.

Added new script reconnect-aws-cluster.sh for the usecase where a user
might be running pre-installer and installer in different shell
sessions.
- Add 7 TF outputs to output.tf
- Export these values to ~/.env in provision.sh
- Remove load_provision_values call from configure-cluster.sh
@sunil-parida sunil-parida changed the base branch from main to sunil-onprem-template November 3, 2025 08:43
- Include reconnect-aws-cluster.sh in installer container
- Remove S3_PREFIX from required variables check in configure-cluster.sh
- Add kubectl config setup to configure-cluster.sh
- Add single_tenancy terraform variable
- Move terminate_sshuttle after wait_for_gitea to keep tunnel alive during Gitea check
@garyloug garyloug force-pushed the pre-installer_installer branch from c4d4401 to 1e9087e Compare November 4, 2025 14:52
Add missing variables. Check user is sourcing.
@garyloug garyloug force-pushed the pre-installer_installer branch from 43c3c78 to 10f88e8 Compare November 4, 2025 15:48
@johnoloughlin johnoloughlin merged commit 48508ba into sunil-onprem-template Nov 7, 2025
26 of 27 checks passed
@johnoloughlin johnoloughlin deleted the pre-installer_installer branch November 7, 2025 10:59
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.

6 participants