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

[DOP-2361] Fix for allowing disabling thanos #338

Merged
merged 12 commits into from
Nov 1, 2024
Merged

[DOP-2361] Fix for allowing disabling thanos #338

merged 12 commits into from
Nov 1, 2024

Conversation

NathanOkolita
Copy link
Contributor

No description provided.

Copy link
Contributor

@ashmuck ashmuck left a comment

Choose a reason for hiding this comment

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

lgtm, maybe we want to remove the no-op variable "thanos_enabled"?

@@ -642,7 +642,7 @@ variable "thanos_cluster_name" {

variable "thanos_enabled" {
type = bool
default = false
default = true
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we just remove this variable altogether?

args = ["eks", "get-token", "--cluster-name", var.label]
command = "aws"
}
token = data.aws_eks_cluster_auth.local.token
Copy link
Contributor

Choose a reason for hiding this comment

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

Hope this is the permanent fix!

@@ -791,7 +791,7 @@ variable "indico_devops_aws_region" {

variable "thanos_enabled" {
type = bool
default = false
default = true
Copy link
Contributor

Choose a reason for hiding this comment

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

ditto here for removing the variable

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I intentionally left all the code commented out, so that it would be easy to turn this feature back on in the future. So, I was thinking that it would be better to keep the variable, rather than removing it.

@NathanOkolita NathanOkolita merged commit b67c53d into main Nov 1, 2024
17 of 21 checks passed
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