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

merge dominodatalab/testenv into this repository #159

Merged
merged 38 commits into from
Apr 15, 2024
Merged

Conversation

steved
Copy link
Contributor

@steved steved commented Apr 12, 2024

dominodatalab/testenv is only used here and it's difficult to update. I've merged it in, but kept it separate for now.

sonnysideup and others added 30 commits October 3, 2022 10:54
not including destruction
we want to be at least v0.25.0 compatible since there are some dep
issues with gnostic in k8s v0.23
rather than building a var list during apply and destroy, we can create
a "terraform.tfvars" that will be used. additionally, this makes running
the terraform steps manually easier when debugging

using hclwrite in case we have more complex variables to write for
aks/eks. we can remove this is the need does not present itself
and exposes gcp service account and gar repository
apparently these names must be unique from one cluster to the next
i had to remove the community vpc module because it didn't allow me to
use dynamic subnet names with secondary ranges
- the ability to pass values into the helmfile apply func
- binds gcp SA to the workloadIdentityUser role
- adds the ability to query tf output for variable data
- adds k8s service account to GKEConfig
* Generated EKS resource creation.

* terraform plan is running successfully.

* TODO: need to add IAM roles + permissions.
* Updated terraform output to include ecr repo url.
* Added kubeconfig as a null resource to update the kubeconfig.

* Added nodes to the EKS cluster.
* Changed manage_aws_auth_configmap back to true.

* Enabled hostnames though I am unsure if I need that.
- Updated description to specify it's the kubeconfig path and not the actual kubeconfig.
- Updated kubernetes version description.
* Updated k8s version to 1.23

* Updated module format to match other tf modules in our repo.
we want faster tests and do not want to wait for a cluster to scale up
when testing
* Added EKS config + validation, kubeconfig output
- adds .terraform.lock.hcl for repeatable init
- fixes kubeconfig contents output
- adds ebs-csi add-on so that k8s sc works in k8s version >= 1.23
- adds sg rules for various webhooks running in-cluster; this should
  really be configurable via variables but that can come later
sonnysideup and others added 8 commits November 10, 2022 16:49
because we don't care if we're deleting an ECR repo that has test images
within it
we want to ensure that callers can still run terraform destroy if/when
helmfile destroy fails for some reason. a possible error could be
related to an invalid k8s connection
@steved steved marked this pull request as ready for review April 12, 2024 23:41
@steved steved requested a review from fraenkel April 12, 2024 23:41
@steved steved merged commit 1256de9 into main Apr 15, 2024
7 checks passed
@steved steved deleted the steved/testenv-1 branch April 15, 2024 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants