From 2068e94cbafabcf918f8a434b03c355c9d4bd59f Mon Sep 17 00:00:00 2001 From: Cem Mergenci Date: Fri, 11 Oct 2024 01:33:17 +0300 Subject: [PATCH] Remove duplicate `PasswordSecretRef`s in a backwards-compatible way. Signed-off-by: Cem Mergenci --- .../v1beta1/zz_deliverystream_types.go | 21 ------------------- 1 file changed, 21 deletions(-) diff --git a/apis/firehose/v1beta1/zz_deliverystream_types.go b/apis/firehose/v1beta1/zz_deliverystream_types.go index 19be4fe9e8..6b12012181 100755 --- a/apis/firehose/v1beta1/zz_deliverystream_types.go +++ b/apis/firehose/v1beta1/zz_deliverystream_types.go @@ -2984,9 +2984,6 @@ type RedshiftConfigurationInitParameters struct { // The name of the table in the redshift cluster that the s3 bucket will copy to. DataTableName *string `json:"dataTableName,omitempty" tf:"data_table_name,omitempty"` - // The password for the username above. - PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"` - // The password for the username above. This value is required if secrets_manager_configuration is not provided. PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"` @@ -3089,10 +3086,6 @@ type RedshiftConfigurationParameters struct { // +kubebuilder:validation:Optional DataTableName *string `json:"dataTableName" tf:"data_table_name,omitempty"` - // The password for the username above. - // +kubebuilder:validation:Optional - PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"` - // The password for the username above. This value is required if secrets_manager_configuration is not provided. // +kubebuilder:validation:Optional PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"` @@ -4258,9 +4251,6 @@ type SnowflakeConfigurationInitParameters struct { // The name of the metadata column. MetadataColumnName *string `json:"metadataColumnName,omitempty" tf:"metadata_column_name,omitempty"` - // The private key for authentication. - PrivateKeySecretRef v1.SecretKeySelector `json:"privateKeySecretRef" tf:"-"` - // The private key for authentication. This value is required if secrets_manager_configuration is not provided. PrivateKeySecretRef *v1.SecretKeySelector `json:"privateKeySecretRef,omitempty" tf:"-"` @@ -4406,10 +4396,6 @@ type SnowflakeConfigurationParameters struct { // +kubebuilder:validation:Optional MetadataColumnName *string `json:"metadataColumnName,omitempty" tf:"metadata_column_name,omitempty"` - // The private key for authentication. - // +kubebuilder:validation:Optional - PrivateKeySecretRef v1.SecretKeySelector `json:"privateKeySecretRef" tf:"-"` - // The private key for authentication. This value is required if secrets_manager_configuration is not provided. // +kubebuilder:validation:Optional PrivateKeySecretRef *v1.SecretKeySelector `json:"privateKeySecretRef,omitempty" tf:"-"` @@ -4883,9 +4869,6 @@ type SplunkConfigurationInitParameters struct { // The HEC endpoint type. Valid values are Raw or Event. The default value is Raw. HecEndpointType *string `json:"hecEndpointType,omitempty" tf:"hec_endpoint_type,omitempty"` - // The GUID that you obtain from your Splunk cluster when you create a new HEC endpoint. - HecTokenSecretRef v1.SecretKeySelector `json:"hecTokenSecretRef" tf:"-"` - // The GUID that you obtain from your Splunk cluster when you create a new HEC endpoint. This value is required if secrets_manager_configuration is not provided. HecTokenSecretRef *v1.SecretKeySelector `json:"hecTokenSecretRef,omitempty" tf:"-"` @@ -4967,10 +4950,6 @@ type SplunkConfigurationParameters struct { // +kubebuilder:validation:Optional HecEndpointType *string `json:"hecEndpointType,omitempty" tf:"hec_endpoint_type,omitempty"` - // The GUID that you obtain from your Splunk cluster when you create a new HEC endpoint. - // +kubebuilder:validation:Optional - HecTokenSecretRef v1.SecretKeySelector `json:"hecTokenSecretRef" tf:"-"` - // The GUID that you obtain from your Splunk cluster when you create a new HEC endpoint. This value is required if secrets_manager_configuration is not provided. // +kubebuilder:validation:Optional HecTokenSecretRef *v1.SecretKeySelector `json:"hecTokenSecretRef,omitempty" tf:"-"`