Skip to content

Commit a0dfdc3

Browse files
authored
Merge pull request #894 from akshay196/update-gke-template
Make GKE enableAutopilot optional
2 parents d669115 + 739311d commit a0dfdc3

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)