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

google_container_cluster - kubernetes_dashboard should be disabled by default #2547

Closed
vbhavsar opened this issue Nov 30, 2018 · 7 comments · Fixed by #3011
Closed

google_container_cluster - kubernetes_dashboard should be disabled by default #2547

vbhavsar opened this issue Nov 30, 2018 · 7 comments · Fixed by #3011
Labels
bug forward/review In review; remove label to forward service/container

Comments

@vbhavsar
Copy link
Contributor

vbhavsar commented Nov 30, 2018

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment. If the issue is assigned to the "modular-magician" user, it is either in the process of being autogenerated, or is planned to be autogenerated soon. If the issue is assigned to a user, that user is claiming responsibility for the issue. If the issue is assigned to "hashibot", a community member has claimed the issue already.

Description

GKE dashboard is deprecated but it is enabled by default. It should be disabled by default.

New or Affected Resource(s)

  • google_container_cluster

References

https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards

@nat-henderson
Copy link
Contributor

Thanks for the deprecation notice. As for enabled-by-default, that's to do with the API.

It's enabled by default, because if you don't include a KubernetesDashboard block to send, it's interpreted as the empty block {}, which has a default value for all attributes. The default value of a boolean is false, so it's interpreted as disabled: false. Contrast LegacyAbac, which has enabled instead of disabled - so that one is disabled by default (enabled: false).

@danawillow danawillow added the bug label Dec 10, 2018
@vbhavsar
Copy link
Contributor Author

vbhavsar commented Feb 6, 2019

@ndmckinley Would you be okay if kubernetes_dashboard was set to disabled: true in absence of KubernetesDashboard block?

This would mean adding an else block to https://github.com/terraform-providers/terraform-provider-google/blob/master/google/resource_container_cluster.go#L1594-L1600 that sets disabled: true.

@nat-henderson
Copy link
Contributor

I'd definitely accept that PR, but you'd need to hurry - it's a breaking change and we have a 2.0.0 release pending in the next week or so.

@vbhavsar
Copy link
Contributor Author

Is the release schedule available somewhere? When is 2.0.0 scheduled to be released? I'd like the fix to be part of that release.

@nat-henderson
Copy link
Contributor

2.0.0 has been a very special case. It was released this morning. Going forward, we expect to release minor versions approximately every two weeks, usually on Tuesdays, and major versions every 8-12 months. We are currently discussing whether we can exempt this request from our breaking change policies, because it represents a change to the underlying API (a deprecation).

@rileykarson
Copy link
Collaborator

This is disabled by default now.

@ghost
Copy link

ghost commented Jul 26, 2019

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!

@ghost ghost locked and limited conversation to collaborators Jul 26, 2019
@github-actions github-actions bot added service/container forward/review In review; remove label to forward labels Jan 15, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug forward/review In review; remove label to forward service/container
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants