-
Notifications
You must be signed in to change notification settings - Fork 0
Initial AWS modules setup #1
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
Conversation
750c1d0 to
577cfcb
Compare
| locals { | ||
| default_helm_values = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Open to suggestions if we should keep this here as it has too many cloud-specific configs, or if we should move it to the ./kubernetes dir and again make it cloud agnostic.
8e9ef41 to
4927307
Compare
alex-hunt-materialize
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets get this in, and we can iterate on the details in smaller PRs.
aws/modules/eks/bootstrap.sh
Outdated
| @@ -0,0 +1,37 @@ | |||
| #!/bin/bash | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this a duplicate of aws/modules/eks-node-group/bootstrap.sh? Is this one used?
| version = var.use_local_chart ? null : var.operator_version | ||
|
|
||
| values = [ | ||
| yamlencode(merge(local.default_helm_values, var.helm_values)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this do a deep merge?
|
|
||
| # Install the metrics-server for monitoring | ||
| # Required for the Materialize Console to display cluster metrics | ||
| resource "helm_release" "metrics_server" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It feels a bit weird to have this be part of the operator install, as it's a common kubernetes component that is likely to be installed for a variety of reasons.
Moving over the refactor from MaterializeInc/terraform-aws-materialize#69