diff --git a/apis/secretmanager/v1beta1/zz_secretversion_types.go b/apis/secretmanager/v1beta1/zz_secretversion_types.go index 5c9670e26..3ddef9093 100755 --- a/apis/secretmanager/v1beta1/zz_secretversion_types.go +++ b/apis/secretmanager/v1beta1/zz_secretversion_types.go @@ -54,7 +54,6 @@ type SecretVersionParameters struct { Secret *string `json:"secret,omitempty" tf:"secret,omitempty"` // The secret data. Must be no larger than 64KiB. - // Note: This property is sensitive and will not be displayed in the plan. // +kubebuilder:validation:Required SecretDataSecretRef v1.SecretKeySelector `json:"secretDataSecretRef" tf:"-"` diff --git a/config/secretmanager/config.go b/config/secretmanager/config.go index 552c9f3ae..707eef63f 100644 --- a/config/secretmanager/config.go +++ b/config/secretmanager/config.go @@ -24,5 +24,6 @@ func Configure(p *config.Provider) { Type: "Secret", Extractor: common.ExtractResourceIDFuncPath, } + r.MetaResource.ArgumentDocs["secret_data"] = `The secret data. Must be no larger than 64KiB.` }) } diff --git a/package/crds/secretmanager.gcp.upbound.io_secretversions.yaml b/package/crds/secretmanager.gcp.upbound.io_secretversions.yaml index 37dda3a58..6a428073a 100644 --- a/package/crds/secretmanager.gcp.upbound.io_secretversions.yaml +++ b/package/crds/secretmanager.gcp.upbound.io_secretversions.yaml @@ -71,9 +71,7 @@ spec: description: Secret Manager secret resource type: string secretDataSecretRef: - description: 'The secret data. Must be no larger than 64KiB. Note: - This property is sensitive and will not be displayed in the - plan.' + description: The secret data. Must be no larger than 64KiB. properties: key: description: The key to select.