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
481481 log .V (4 ).Info ("Master authorized networks config update check" , "desired" , desiredMasterAuthorizedNetworksConfig )
482482 }
483483
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+
484490 updateClusterRequest := containerpb.UpdateClusterRequest {
485491 Name : s .scope .ClusterFullName (),
486492 Update : & clusterUpdate ,
You can’t perform that action at this time.
0 commit comments