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 @@ -477,6 +477,12 @@ func (s *Service) checkDiffAndPrepareUpdate(existingCluster *containerpb.Cluster
477
477
log .V (4 ).Info ("Master authorized networks config update check" , "desired" , desiredMasterAuthorizedNetworksConfig )
478
478
}
479
479
480
+ desiredEnableIdentityService := s .scope .GCPManagedControlPlane .Spec .EnableIdentityService
481
+ if desiredEnableIdentityService != existingCluster .GetIdentityServiceConfig ().GetEnabled () {
482
+ needUpdate = true
483
+ clusterUpdate .DesiredIdentityServiceConfig = & containerpb.IdentityServiceConfig {Enabled : desiredEnableIdentityService }
484
+ }
485
+
480
486
updateClusterRequest := containerpb.UpdateClusterRequest {
481
487
Name : s .scope .ClusterFullName (),
482
488
Update : & clusterUpdate ,
You can’t perform that action at this time.
0 commit comments