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

feat: Add terraform modules for jupyter-{controller,ui} #407

Merged
merged 8 commits into from
Sep 24, 2024

Conversation

orfeas-k
Copy link
Contributor

@orfeas-k orfeas-k commented Sep 18, 2024

Create a terraform/ directory for each of the charms that hosts their individual Terraform modules. It follows the structure proposed in this spec and it is based on what was done in canonical/argo-operators#198.

To test the modules:

  • Clone the repository and switch this PR's branch.
  • For each charm:
    • cd into its directory
    • First run tox -e tflint to ensure that linting is correct
    • Run terraform apply -var "channel=latest/edge" -var "model_name=kubeflow" --auto-approve and wait until the charm is Active and Idle.

Ref #405
Ref #404

@orfeas-k orfeas-k changed the title feat: Add terraform modules for jupyter-{controller-ui} feat: Add terraform modules for jupyter-{controller,ui} Sep 18, 2024
Copy link
Contributor

@DnPlas DnPlas left a comment

Choose a reason for hiding this comment

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

Thanks @orfeas-k, tiny comments, other than that lgtm.

.github/workflows/integrate.yaml Outdated Show resolved Hide resolved
charms/jupyter-controller/terraform/README.md Show resolved Hide resolved
charms/jupyter-ui/terraform/outputs.tf Show resolved Hide resolved
DnPlas
DnPlas previously requested changes Sep 24, 2024
Copy link
Contributor

@DnPlas DnPlas left a comment

Choose a reason for hiding this comment

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

Please check canonical/training-operator#200 (review) as it will apply to this PR as well. After that I think we can merge.

@orfeas-k orfeas-k enabled auto-merge (squash) September 24, 2024 10:40
@mvlassis mvlassis dismissed DnPlas’s stale review September 24, 2024 12:03

The comments have been addressed!

Copy link

@mvlassis mvlassis left a comment

Choose a reason for hiding this comment

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

All done!

@orfeas-k orfeas-k merged commit 25652f3 into main Sep 24, 2024
20 checks passed
@orfeas-k orfeas-k deleted the kf-6234-add-terraform-modules branch September 24, 2024 12:06
orfeas-k added a commit that referenced this pull request Sep 24, 2024
Create a `terraform/` directory for each of the charms that hosts their individual Terraform modules. It follows the structure proposed in [this spec](https://docs.google.com/document/d/1EG71A2pJ244PQRaGVzGj7Mx2B_bzE4U_OSqx4eeVI1E/edit) and it is based on what was done in canonical/argo-operators#198.

Ref #405
Ref #404
orfeas-k added a commit that referenced this pull request Sep 26, 2024
…ules

feat: Backport terraform modules for jupyter-{controller,ui} from #407
Closes #405
Closes #404
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants