-
Notifications
You must be signed in to change notification settings - Fork 3
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
Conversation
…han using exec command, which seems to be timing out to the local cluster.
…urce. Soft disable thanos for Azure clusters as well. Leave thanos_enabled set true for now to prevent errors on clusters already running thanos.
…urce. Restore thanos settings to allow togging between being enabled or disabled. Update thanos_enabled to be false by default.
…ault, but comment out all settings to cause thanos to be disabled..
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.
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 |
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.
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 |
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.
Hope this is the permanent fix!
@@ -791,7 +791,7 @@ variable "indico_devops_aws_region" { | |||
|
|||
variable "thanos_enabled" { | |||
type = bool | |||
default = false | |||
default = true |
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.
ditto here for removing the variable
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.
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.
No description provided.