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