Skip to content

Commit 739311d

Browse files
committed
Make GKE EnableAutopilot Field Optional
Signed-off-by: Akshay Gaikwad <[email protected]>
1 parent 0d52d99 commit 739311d

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

config/crd/bases/infrastructure.cluster.x-k8s.io_gcpmanagedcontrolplanes.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ spec:
104104
- stable
105105
type: string
106106
required:
107-
- enableAutopilot
108107
- location
109108
- project
110109
type: object

exp/api/v1beta1/gcpmanagedcontrolplane_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ type GCPManagedControlPlaneSpec struct {
4040
// will be created.
4141
Location string `json:"location"`
4242
// EnableAutopilot indicates whether to enable autopilot for this GKE cluster.
43+
// +optional
4344
EnableAutopilot bool `json:"enableAutopilot"`
4445
// ReleaseChannel represents the release channel of the GKE cluster.
4546
// +optional

0 commit comments

Comments
 (0)