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

refactor vpa to use helm-addon module #300

Merged
merged 32 commits into from
Mar 4, 2022
Merged

Conversation

askulkarni2
Copy link
Contributor

@askulkarni2 askulkarni2 commented Mar 2, 2022

What does this PR do?

Refactor VPA addon to use the helm-addon module.

Motivation

Standardize addons.

More

  • Yes, I have tested the PR using my local account setup (Provide any test evidence report under Additional Notes)
  • [N/A] Yes, I have added a new example under examples to support my PR
  • [N/A] Yes, I have created another PR for add-ons under add-ons repo (if applicable)
  • [N/A] Yes, I have updated the docs for this feature
  • Yes, I ran pre-commit run -a with this PR

Note: Not all the PRs required examples and docs except a new pattern or add-on added.

For Moderators

  • E2E Test successfully complete before merge?

Additional Notes

Copy link
Contributor

@vara-bonthu vara-bonthu left a comment

Choose a reason for hiding this comment

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

Nice! Few comments requires change 👍🏼

modules/kubernetes-addons/vpa/locals.tf Outdated Show resolved Hide resolved
modules/kubernetes-addons/vpa/main.tf Show resolved Hide resolved
modules/kubernetes-addons/vpa/variables.tf Outdated Show resolved Hide resolved
Copy link
Contributor

@kcoleman731 kcoleman731 left a comment

Choose a reason for hiding this comment

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

Looks good to me. Just verify @vara-bonthu comments.

vara-bonthu and others added 17 commits March 2, 2022 12:08
* Terraform provider jet aws

* Crossplane Terrajet provider added

* precommit format update

* Crospslane examples updated

* terraform-docs: automated action

* crossplane docs updated

* corssplane module docs updated

* precommit format update

* Mermaid flow design for Crossplane deployment

* Readme type fix

* removed time reosurce and added wait to cplane resource

* data resources moved to root module

* terraform-docs: automated action

* Added tags to crossplane addon

* Added note for iam policy

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Addon for the EFS CSI driver

* Misc updates

* Generate with terraform-docs

* Naming convention

* Add a blank line

* Remove unused aws_region

* Change markers for terraform-docs

* Disable SA creation as it's handled by the IRSA module

* Change version

* Node SA doesn't apply to this version

* Add example for EFS

* Expand example

* Remove test file

* Remove prompt to make commands copy&paste friendly

* Re-add fargate profile

* Name convention changes

* Only mention TF output once

* Override SA name

* Update chart version and handle node SA too

* Encrypt the storage

* Use the new approach as per Vara's review

* Re-generate docs

* Remove values.yaml as its whole contents are already set via set_values

* Add empty line at the end of the file

* Include a docs entry for the AWS EFS CSI driver

* Add doc for the AWS EFS CSI driver

* Expand description

* Generalise policy name for both controller and node

* Add EFS CSI driver entries

* Add further steps to test provisioning

* Correct destroy command option

* Fix the SG definition to match mount target CIDR blocks

* Remove extra spaces

* Changes made by pre-commit

* Remove Helm config items that match defaults; also use default timeout

* Changes made by pre-commit

* Rename example folder to aws-efs-csi-driver

Co-authored-by: Luigi Di Fraia <[email protected]>
Copy link
Contributor

@kcoleman731 kcoleman731 left a comment

Choose a reason for hiding this comment

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

LGTM @vara-bonthu please review in the AM.

Copy link
Contributor

@vara-bonthu vara-bonthu left a comment

Choose a reason for hiding this comment

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

LGTM! One change required

modules/kubernetes-addons/vpa/main.tf Show resolved Hide resolved
@askulkarni2 askulkarni2 merged commit 9684d0a into main Mar 4, 2022
@askulkarni2 askulkarni2 deleted the refactor/vpa-helm-addon branch March 4, 2022 00:53
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.

5 participants