Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas Bigler <nicolas.bigler@vshn.ch>
  • Loading branch information
TheBigLee committed Jan 27, 2025
1 parent 622bada commit 4dc9f1e
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apis/exoscale/v1/bucket_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ type BucketParameters struct {
// Be aware that S3 providers may require a unique name across the platform or zone.
BucketName string `json:"bucketName,omitempty"`

// +kubebuilder:validation:Required
// +kubebuilder:validation:Optional

// Deprecated: Only here for compatibility with legacy Bucket objects
EndpointURL string `json:"endpointURL,omitempty"`
Expand Down
1 change: 0 additions & 1 deletion package/crds/exoscale.crossplane.io_buckets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ spec:
Cannot be changed after bucket is created.
type: string
required:
- endpointURL
- zone
type: object
managementPolicies:
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/bucket/01-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
sos:
buckets:
- e2e-test-kuttl-provider-exoscale
zone: CH-DK-2
zone: ch-dk-2
providerConfigRef:
name: provider-config
writeConnectionSecretToRef:
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/bucket/01-install-iamkey.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec:
sos:
buckets:
- e2e-test-kuttl-provider-exoscale
zone: CH-DK-2
zone: ch-dk-2
providerConfigRef:
name: provider-config
writeConnectionSecretToRef:
Expand Down

0 comments on commit 4dc9f1e

Please sign in to comment.