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

fix: example should use remote link and alb controller version fixed to 1.11.0 #13

Merged
merged 2 commits into from
Feb 10, 2025

Conversation

hongchaodeng
Copy link
Member

@hongchaodeng hongchaodeng commented Feb 10, 2025

Two fixes:

  • The alb controller chart version should be 1.11.0. We should not use the appVersion
  • The example should use remote link, not relying on specific directory layout.

Pull request checklist

Please check if your PR fulfills the following requirements:

  • pre-commit has been run
  • Tests for the changes have been added (for bug fixes / features)
  • All tests passing
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)

Pull Request Type

  • Bugfix
  • New feature
  • Refactoring (no functional changes)
  • Documentation change
  • Other (please describe):

Does this introduce a breaking change?

  • Yes
  • No

Other information

@hongchaodeng hongchaodeng requested a review from a team as a code owner February 10, 2025 18:27
@github-actions github-actions bot added documentation Improvements or additions to documentation examples terraform labels Feb 10, 2025
Copy link
Collaborator

@brent-anyscale brent-anyscale left a comment

Choose a reason for hiding this comment

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

Thanks for working on this. I think that updating the module references for the Anyscale AWS modules is a good change, but for the sub-modules within this one, the changes should remain as relative paths. We can evaluate changing this in the future, but without duplicating every example as a "test" we eliminate the ability to test changes. Using the relative path is standard practice for examples with public modules.

source = "../../../modules/anyscale-k8s-helm"
#checkov:skip=CKV_TF_1: Example code should use the latest version of the module
#checkov:skip=CKV_TF_2: Example code should use the latest version of the module
source = "github.com/anyscale/terraform-kubernetes-anyscale-foundation-modules//modules/anyscale-k8s-helm"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Doing it this way will limit the capabilities for using the examples for internal testing. If doing this, we will need to also create testing examples.

Copy link
Member Author

Choose a reason for hiding this comment

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

OK will change it back

@hongchaodeng hongchaodeng merged commit 0624d32 into main Feb 10, 2025
3 checks passed
@hongchaodeng hongchaodeng deleted the hdeng/fix-minor branch February 10, 2025 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation examples terraform
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants