Browse Source

make clusterProjectID omitemtpy

Atze de Vries 4 years ago
parent
commit
739043283c

+ 1 - 1
apis/externalsecrets/v1alpha1/secretstore_gcpsm_types.go

@@ -35,7 +35,7 @@ type GCPWorkloadIdentity struct {
 	ServiceAccountRef esmeta.ServiceAccountSelector `json:"serviceAccountRef"`
 	ClusterLocation   string                        `json:"clusterLocation"`
 	ClusterName       string                        `json:"clusterName"`
-	ClusterProjectID  string                        `json:"clusterProjectID"`
+	ClusterProjectID  string                        `json:"clusterProjectID,omitempty"`
 }
 
 // GCPSMProvider Configures a store to sync secrets using the GCP Secret Manager provider.

+ 0 - 1
config/crds/bases/external-secrets.io_clustersecretstores.yaml

@@ -464,7 +464,6 @@ spec:
                             required:
                             - clusterLocation
                             - clusterName
-                            - clusterProjectID
                             - serviceAccountRef
                             type: object
                         type: object

+ 0 - 1
config/crds/bases/external-secrets.io_secretstores.yaml

@@ -464,7 +464,6 @@ spec:
                             required:
                             - clusterLocation
                             - clusterName
-                            - clusterProjectID
                             - serviceAccountRef
                             type: object
                         type: object

+ 0 - 2
deploy/crds/bundle.yaml

@@ -351,7 +351,6 @@ spec:
                               required:
                                 - clusterLocation
                                 - clusterName
-                                - clusterProjectID
                                 - serviceAccountRef
                               type: object
                           type: object
@@ -2794,7 +2793,6 @@ spec:
                               required:
                                 - clusterLocation
                                 - clusterName
-                                - clusterProjectID
                                 - serviceAccountRef
                               type: object
                           type: object