Skip to content

Commit

Permalink
fix(eks/cluster): outpost status fields optional (#1576)
Browse files Browse the repository at this point in the history
Signed-off-by: Charel Baum <charel.baum@accenture.com>
  • Loading branch information
wotolom authored Nov 16, 2022
1 parent fcd1efb commit 5c6c9f0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions apis/eks/v1beta1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -341,13 +341,13 @@ type OutpostConfigResponse struct {
// the same for all control plane instances.
//
// This member is required.
ControlPlaneInstanceType string `json:"controlPlaneInstanceType"`
ControlPlaneInstanceType string `json:"controlPlaneInstanceType,omitempty"`

// The ARN of the Outpost that you specified for use with your local Amazon EKS
// cluster on Outposts.
//
// This member is required.
OutpostArns []string `json:"outpostArns"`
OutpostArns []string `json:"outpostArns,omitempty"`
// contains filtered or unexported fields
}

Expand Down
2 changes: 1 addition & 1 deletion examples/eks/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ spec:
- name: sample-subnet2
securityGroupIdRefs:
- name: sample-cluster-sg
version: "1.16"
version: "1.21"
writeConnectionSecretToRef:
name: cluster-conn
namespace: default
Expand Down
3 changes: 0 additions & 3 deletions package/crds/eks.aws.crossplane.io_clusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -715,9 +715,6 @@ spec:
items:
type: string
type: array
required:
- controlPlaneInstanceType
- outpostArns
type: object
platformVersion:
description: The platform version of your Amazon EKS cluster.
Expand Down

0 comments on commit 5c6c9f0

Please sign in to comment.