Skip to content

Commit

Permalink
Merge pull request #3 from wastill/main
Browse files Browse the repository at this point in the history
fix: complete s3connection
  • Loading branch information
whg517 authored Dec 26, 2023
2 parents 0f88208 + b10e471 commit a73f8d2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/operators/v1alphav1/s3connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ import (
type S3ConnectionSpec struct {
// +kubebuilder:validation:Required
S3Credential *S3Credential `json:"credential,omitempty"`
// +kubebuilder:validation:Required
Endpoint string `json:"endpoint,omitempty"`
// +kubebuilder:validation:Optional
Region string `json:"region,omitempty"`
// +kubebuilder:validation:Optional
SSL bool `json:"ssl,omitempty"`
}

// S3Credential include AccessKey and SecretKey or ExistingSecret. ExistingSecret include AccessKey and SecretKey ,it is encrypted by base64.
Expand Down

0 comments on commit a73f8d2

Please sign in to comment.