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

Commit cfdb293

Browse files
authored
Merge pull request #57 from mukhoakash/fix-pkg
Fixing the pkg import in the BucketInfo api
2 parents 896eb15 + 1ee9051 commit cfdb293

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: apis/bucket_info.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ limitations under the License.
1818
package cosiapi
1919

2020
import (
21-
corev1 "k8s.io/api/core/v1"
2221
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
22+
"sigs.k8s.io/container-object-storage-api/apis/objectstorage/v1alpha1"
2323
)
2424

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

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

0 commit comments

Comments
 (0)