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