-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
BREAKING CHANGE: support maintenance_exclusion #1273
BREAKING CHANGE: support maintenance_exclusion #1273
Conversation
5bdd99f
to
7e22154
Compare
Breaking Change:
|
@bharathkkb @Jberlinsky - please review and there will be breaking change on this PR. |
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.
Thanks for the PR @ericyz
Looks like this will need a rebase
cluster.tf
Outdated
start_time = maintenance_exclusion.value.start_time | ||
end_time = maintenance_exclusion.value.end_time | ||
|
||
exclusion_options { |
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 make this a dynamic block created iff maintenance_exclusion.value.exclusion_options is set.
cluster.tf
Outdated
@@ -133,21 +135,25 @@ resource "google_container_cluster" "primary" { | |||
} | |||
} | |||
|
|||
dynamic "daily_maintenance_window" { |
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.
Shouldn't this still be a dynamic block?
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.
Yes, let me updated that
5507045
to
f2ae5d7
Compare
Please review @bharathkkb @Jberlinsky |
6b2dd8d
to
b52ac6a
Compare
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, since this is a breaking change let's hold off on merging till our next breaking release.
@bharathkkb - any ETA when the next major version release? |
@ericyz we can do the next release as major version. Could you rebase this and I can merge. |
Rebased |
1c76e79
to
a4526b3
Compare
a4526b3
to
2657270
Compare
@ericyz |
No description provided.