You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the private cluster module and not specifying the release_channel variable (default value is null) intermittently a cluster gets created that is part of the REGULAR release channel when I expected it to be in the UNSPECIFIED channel
Expected behavior
When release_channel is not defined I expect my cluster to be in the UNSPECIFIED channel
It doesn't look like 1618 fixes the reported issue here. That PR forces the auto-upgrade property to be enabled if the channel is specified, but this issue is reporting that the explicit desire for a cluster to not be on a release channel is not being honored when the cluster is created.
Thanks for reaching out - Due to a change in the underlying GKE API, to use UNSPECIFIED please set release_channel = "UNSPECIFIED" rather than omitting release_channel or setting it to null.
The next release of the module will include updated documentation to this effect.
TL;DR
When using the private cluster module and not specifying the
release_channel
variable (default value is null) intermittently a cluster gets created that is part of theREGULAR
release channel when I expected it to be in theUNSPECIFIED
channelExpected behavior
When
release_channel
is not defined I expect my cluster to be in theUNSPECIFIED
channelAccording to the doc: https://github.com/terraform-google-modules/terraform-google-kubernetes-engine/tree/master/modules/private-cluster
Observed behavior
The cluster is in the
REGULAR
release channelI recreated the issue with the simple_regional_private example from this project below
Terraform Configuration
Terraform Version
Additional information
The issue seems to be intermittent, sometimes the resulting cluster will be in the UNSPECIFIED channel and other times the REGULAR channel
The text was updated successfully, but these errors were encountered: