File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
cloud/services/container/clusters Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -479,6 +479,12 @@ func (s *Service) checkDiffAndPrepareUpdate(existingCluster *containerpb.Cluster
479
479
log .V (4 ).Info ("Master authorized networks config update check" , "desired" , desiredMasterAuthorizedNetworksConfig )
480
480
}
481
481
482
+ desiredEnableIdentityService := s .scope .GCPManagedControlPlane .Spec .EnableIdentityService
483
+ if desiredEnableIdentityService != existingCluster .GetIdentityServiceConfig ().GetEnabled () {
484
+ needUpdate = true
485
+ clusterUpdate .DesiredIdentityServiceConfig = & containerpb.IdentityServiceConfig {Enabled : desiredEnableIdentityService }
486
+ }
487
+
482
488
updateClusterRequest := containerpb.UpdateClusterRequest {
483
489
Name : s .scope .ClusterFullName (),
484
490
Update : & clusterUpdate ,
You can’t perform that action at this time.
0 commit comments