@@ -21,7 +21,6 @@ package v1alpha1
21
21
import osspec "sigs.k8s.io/container-object-storage-interface-spec"
22
22
23
23
type GCSProtocol struct {
24
- BucketName string `json:"bucketName,omitempty"`
25
24
PrivateKeyName string `json:"privateKeyName,omitempty"`
26
25
ProjectID string `json:"projectID,omitempty"`
27
26
ServiceAccount string `json:"serviceAccount,omitempty"`
@@ -30,7 +29,6 @@ type GCSProtocol struct {
30
29
func (gcs * GCSProtocol ) ConvertToExternal () * osspec.Protocol_Gcs {
31
30
return & osspec.Protocol_Gcs {
32
31
Gcs : & osspec.GCS {
33
- BucketName : gcs .BucketName ,
34
32
PrivateKeyName : gcs .PrivateKeyName ,
35
33
ProjectId : gcs .ProjectID ,
36
34
ServiceAccount : gcs .ServiceAccount ,
@@ -40,7 +38,6 @@ func (gcs *GCSProtocol) ConvertToExternal() *osspec.Protocol_Gcs {
40
38
41
39
func ConvertFromGCSExternal (ext * osspec.GCS ) * GCSProtocol {
42
40
return & GCSProtocol {
43
- BucketName : ext .BucketName ,
44
41
PrivateKeyName : ext .PrivateKeyName ,
45
42
ProjectID : ext .ProjectId ,
46
43
ServiceAccount : ext .ServiceAccount ,
0 commit comments