Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions cloud/services/container/clusters/reconcile.go
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,9 @@ func (s *Service) createCluster(ctx context.Context, log *logr.Logger) error {
Autopilot: &containerpb.Autopilot{
Enabled: s.scope.GCPManagedControlPlane.Spec.EnableAutopilot,
},
IdentityServiceConfig: &containerpb.IdentityServiceConfig{
Enabled: s.scope.GCPManagedControlPlane.Spec.EnableIdentityService,
},
ReleaseChannel: &containerpb.ReleaseChannel{
Channel: convertToSdkReleaseChannel(s.scope.GCPManagedControlPlane.Spec.ReleaseChannel),
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,10 @@ spec:
description: EnableAutopilot indicates whether to enable autopilot
for this GKE cluster.
type: boolean
enableIdentityService:
description: EnableIdentityService indicates whether to enable Identity
Service component for this GKE cluster.
type: boolean
endpoint:
description: Endpoint represents the endpoint used to communicate
with the control plane.
Expand Down
3 changes: 3 additions & 0 deletions exp/api/v1beta1/gcpmanagedcontrolplane_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@ type GCPManagedControlPlaneSpec struct {
// EnableAutopilot indicates whether to enable autopilot for this GKE cluster.
// +optional
EnableAutopilot bool `json:"enableAutopilot"`
// EnableIdentityService indicates whether to enable Identity Service component for this GKE cluster.
// +optional
EnableIdentityService bool `json:"enableIdentityService"`
// ReleaseChannel represents the release channel of the GKE cluster.
// +optional
ReleaseChannel *ReleaseChannel `json:"releaseChannel,omitempty"`
Expand Down