Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Update modules, providers, EKS version, and reorganize examples #53

Closed
wants to merge 1 commit into from
Closed

Conversation

edgarsilva948
Copy link
Contributor

What does this PR do?

🛑 Please open an issue first to discuss any significant work and flesh out details/direction - we would hate for your time to be wasted.
Consult the CONTRIBUTING guide for submitting pull-requests.

This pull request includes several housekeeping and general updates to improve the overall structure, update dependencies, and align with the best practices observed in the EKS blueprints addons.

Motivation

This PR aims to address the improvements discussed in Issue #52, including:

  • Updating all modules used in the ACK deployment.
  • Updating all providers to their latest versions.
  • Updating the EKS version to the latest supported release.
  • Renaming the examples folder to patterns for consistency with EKS blueprints addons design.
  • Adding aliases in the output command for better clarity and usability.
  • Pointing the ACK module to the Terraform registry instead of using source = "../../".
  • Renaming patterns from "complete" to "terraform" and planning to introduce more examples like "fully-private".
  • Separating the ACK controller examples from the ACK cluster bootstrap for enhanced clarity and modularity.

Test Results

The changes have been tested to ensure:

  • All modules and providers are updated correctly.
  • The EKS version upgrade does not introduce any breaking changes.
  • The renaming of folders and patterns maintains the functionality and aligns with the new naming conventions.
  • The separation of examples does not affect the overall deployment process.

Additional Notes

These changes will help maintain a clean, updated, and well-structured repository, making it easier for users to follow and implement the modules effectively. The renaming and restructuring align with other EKS-related projects, providing a more consistent experience.

@edgarsilva948 edgarsilva948 requested a review from a team as a code owner July 30, 2024 03:31
@edgarsilva948 edgarsilva948 changed the title chore: update modules, providers, EKS version, and reorganize examples Update modules, providers, EKS version, and reorganize examples Jul 30, 2024
@edgarsilva948 edgarsilva948 changed the title Update modules, providers, EKS version, and reorganize examples chore: Update modules, providers, EKS version, and reorganize examples Jul 30, 2024
}
kube-proxy = {
most_recent = true
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
}
}
eks-pod-identity-agent = {
most_recent = true
}

Copy link
Contributor

@askulkarni2 askulkarni2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure if this PR is required at all.

@@ -2,15 +2,14 @@ provider "aws" {
region = local.region
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't rename the director to patterns. We want to keep it consistent with other terraform AWS modules. Patterns should go in EKS Blueprints repo.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, are you saying that we should create multiple different ACK deployment options in the EKS Blueprints repository and keep the "complete" "example" here as an end-to-end test?

}
}

tags = local.tags

depends_on = [module.vpc]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not needed as there is an implicit dependency when you provide vpc id and subnets.

# Add-ons
enable_aws_load_balancer_controller = true
enable_metrics_server = true

tags = local.tags

depends_on = [module.eks]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not needed due to implicit dependency via cluster_name, endpoint, etc.

}

################################################################################
# ACK Addons
################################################################################

module "eks_ack_addons" {
source = "../../"
source = "aws-ia/eks-ack-addons/aws"
version = "2.2.0"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is done relatively for a reason so you can test the latest changes. Please leave it as is.

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.

4 participants