Skip to content
This repository was archived by the owner on Dec 6, 2024. It is now read-only.

Fixing the pkg import in the BucketInfo api #57

Merged
merged 1 commit into from
Aug 5, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions apis/bucket_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ limitations under the License.
package cosiapi

import (
corev1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"sigs.k8s.io/container-object-storage-api/apis/objectstorage/v1alpha1"
)

type SecretS3 struct {
Expand Down Expand Up @@ -52,7 +52,7 @@ type BucketInfoSpec struct {
// It can be one of
// KEY - access, secret tokens based authentication
// IAM - implicit authentication of pods to the OSP based on service account mappings
AuthenticationType AuthenticationType `json:"authenticationType"`
AuthenticationType v1alpha1.AuthenticationType `json:"authenticationType"`

// S3 - Details of S3 credentials
S3 *SecretS3 `json:"secretS3"`
Expand All @@ -65,5 +65,5 @@ type BucketInfoSpec struct {
// - S3: Indicates Amazon S3 protocol
// - Azure: Indicates Microsoft Azure BlobStore protocol
// - GCS: Indicates Google Cloud Storage protocol
Protocols []Protocol `json:"protocols"`
Protocols []v1alpha1.Protocol `json:"protocols"`
}