Skip to content

Commit 2167498

Browse files
hiddecolaozc
andcommitted
api: add AzureBucketProvider to Bucket
Co-authored-by: Zhongcheng Lao <[email protected]> Signed-off-by: Hidde Beydals <[email protected]>
1 parent 2410766 commit 2167498

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

api/v1beta2/bucket_types.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,13 @@ const (
3434
GenericBucketProvider string = "generic"
3535
AmazonBucketProvider string = "aws"
3636
GoogleBucketProvider string = "gcp"
37+
AzureBucketProvider string = "azure"
3738
)
3839

3940
// BucketSpec defines the desired state of an S3 compatible bucket
4041
type BucketSpec struct {
4142
// The S3 compatible storage provider name, default ('generic').
42-
// +kubebuilder:validation:Enum=generic;aws;gcp
43+
// +kubebuilder:validation:Enum=generic;aws;gcp;azure
4344
// +kubebuilder:default:=generic
4445
// +optional
4546
Provider string `json:"provider,omitempty"`

config/crd/bases/source.toolkit.fluxcd.io_buckets.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,7 @@ spec:
336336
- generic
337337
- aws
338338
- gcp
339+
- azure
339340
type: string
340341
region:
341342
description: The bucket region.

0 commit comments

Comments
 (0)