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

Add GCP support #11

Merged
merged 6 commits into from
May 17, 2024
Merged

Add GCP support #11

merged 6 commits into from
May 17, 2024

Conversation

marcelovilla
Copy link
Member

Description

Currently, this plugin can be deployed only in AWS because the affinity node selector keys (here and here) are hard-coded to what AWS EKS expects.

This PR adds cloud_provider to the Terraform variables so the correct key can be selected depending on whether Nebari is being deployed to AWS or GCP.

Related Issue

Motivation and Context

This change is required to be able to deploy the self-registration plugin in GCP.

How Has This Been Tested?

This has been tested by deploying a Nebari instance frome scratch in both AWS and GCP.

Screenshots (if appropriate):

@marcelovilla marcelovilla requested a review from kenafoster May 17, 2024 16:04
Copy link
Contributor

@kenafoster kenafoster 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 but before merging, could you increment 0.0.8 to 0.0.9 in a couple places:

__version__ in src/nebari_plugin_self_registration/__about__.py

appVersion in src/nebari_plugin_self_registration/terraform/modules/self-registration/chart/Chart.yaml

Shouldn't need to increment the helm chart (or change default docker image) since this doesn't touch either of those

@marcelovilla marcelovilla requested a review from kenafoster May 17, 2024 17:22
@kenafoster kenafoster merged commit aca7fd3 into nebari-dev:main May 17, 2024
@marcelovilla marcelovilla deleted the add-gcp-support branch May 17, 2024 17:44
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