Skip to content

Commit

Permalink
Merge pull request #247 from turkenh/no-required-status
Browse files Browse the repository at this point in the history
Mark status.endpoint as optional in AKSCluster
  • Loading branch information
negz committed May 28, 2021
2 parents d5c45d2 + 1bcc810 commit dd8d907
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion apis/compute/v1alpha3/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ type AKSClusterStatus struct {
ProviderID string `json:"providerID,omitempty"`

// Endpoint is the endpoint where the cluster can be reached
Endpoint string `json:"endpoint"`
Endpoint string `json:"endpoint,omitempty"`
}

// +kubebuilder:object:root=true
Expand Down
2 changes: 0 additions & 2 deletions package/crds/compute.azure.crossplane.io_aksclusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,6 @@ spec:
state:
description: State is the current state of the cluster.
type: string
required:
- endpoint
type: object
required:
- spec
Expand Down

0 comments on commit dd8d907

Please sign in to comment.